## v5.25 -> jun. 27, 2006
session_start();
include_once ("config/config.php");
/*
$isShop = getSqlField("SELECT aboutpage_type FROM probid_users WHERE id='".$_REQUEST['owner']."'","aboutpage_type");
if ($isShop==2) {
echo "";
}
*/
include ("themes/".$setts['default_theme']."/header.php");
$ownerUserName = getSqlField("SELECT username FROM probid_users WHERE id='".$_GET['owner']."'","username");
header5("$lang[otheritemsfrom] ".$ownerUserName);
if (!$_REQUEST['orderField']) $orderField = "enddate";
else $orderField=$_REQUEST['orderField'];
if (!$_REQUEST['orderType']) {
$orderType = "ASC";
$newOrder="DESC";
} else {
$orderType=$_REQUEST['orderType'];
$newOrder=($orderType=="ASC")?"DESC":"ASC";
}
$searchPattern = " WHERE ownerid='".$_REQUEST['owner']."' AND active='1' AND closed='0' AND deleted!='1' AND listin!='store' ";
if ($_GET['start'] == "") $start = 0;
else $start = $_GET['start'];
$limit = 20;
$totalAuctions = getSqlNumber("SELECT * FROM probid_auctions
".$searchPattern." ORDER BY ".$orderField." ".$orderType."");
$auctionsQuery = mysql_query("SELECT * FROM probid_auctions
".$searchPattern." ORDER BY ".$orderField." ".$orderType." LIMIT ".$start.",".$limit."");
$additionalVars = "&owner=".$_REQUEST['owner']."&nick=".$_REQUEST['nick'];
?>
if ($setts['buyout_process']==0) { ?> | } ?> | |||||
if ($setts['buyout_process']==0) { ?> | } ?> | |||||
".$lang[noauctionsthiscat]." | \n". "||||||
echo " $auctionDetails['itemname'], 'id' => $auctionDetails['id']))."\">"; echo ""; echo ""; ?> |