include $prefix."includes/ips.inc.php";
//-- Function definition section
include $prefix."includes/dates.inc.php";
include $prefix."includes/banners.inc.php";
?>
<?
#// Set document direction (set in includes/messages.XX.inc.php)
#// Can be right-to-left (rtl) or left-to-roght (ltr)
if($DOCDIR != 'rtl') {
print "<HTML dir=ltr>";
} else {
print "<HTML dir=rtl>";
}
#// Build the page width string
$PAGEWIDTH = $SETTINGS['pagewidth'];
if($SETTINGS['pagewidthtype'] == 'perc') $PAGEWIDTH .= "%";
?>
<HEAD>
<TITLE><? print $SETTINGS['sitename']?></TITLE>
<? include $prefix."includes/highlighted_style_css.inc";?>
<? include $prefix."includes/styles.inc.php";?>
<SCRIPT Language=Javascript>
function window_open(pagina,titulo,ancho,largo,x,y){
var Ventana= 'toolbar=0,location=0,directories=0,scrollbars=1,screenX='+x+',screenY='+y+',status=0,menubar=0,resizable=0,width='+ancho+',height='+largo;
open(pagina,titulo,Ventana);
}
</SCRIPT>
<? if(basename($_SERVER['PHP_SELF']) == 'sell.php') { ?>
<script language="Javascript" type="text/javascript" src="includes/calendar.js"></script>
<? } ?>
<? if(basename($SERVER['PHP_SELF']) == 'sell.php' && empty($POST)) { ?>
<script type="text/javascript">
editor_url = "./htmlarea/";
editor_lang = "en";
</script>
<script type="text/javascript" src="./htmlarea/htmlarea.js"></script>
<script type="text/javascript">
HTMLArea.loadPlugin("ContextMenu");
HTMLArea.loadPlugin("TableOperations");
HTMLArea.loadPlugin("CSS");
<!-- Turnkey Websites by Design Shrine Group | http://www.designshrinephpfactory.com -->
// Make editor a global variable
var editor = new HTMLArea("description");
function initDescription() {
var editor = new HTMLArea("description");
editor.registerPlugin(ContextMenu);
editor.registerPlugin(TableOperations);
editor.registerPlugin(CSS, {
combos : [
{ label: "Syntax:",
// menu text // CSS class
options: { "None" : "",
"Code" : "code",
"String" : "string",
"Comment" : "comment",
"Variable name" : "variable-name",
"Type" : "type",
"Reference" : "reference",
"Preprocessor" : "preprocessor",
"Keyword" : "keyword",
"Function name" : "function-name",
"Html tag" : "html-tag",
"Html italic" : "html-helper-italic",
"Warning" : "warning",
"Html bold" : "html-helper-bold"
},
context: "pre"
},
{ label: "Info:",
options: { "None" : "",
"Quote" : "quote",
"Highlight" : "highlight",
"Deprecated" : "deprecated"
}
}
]
}); editor.generate();
}
</script>
<? } else { ?>
<script type="text/javascript">
function initDescription() {
}
</script>
<? }
#// Handle Meta Tags
if($SETTINGS['descriptiontag'] != '') {
print " <META name=\"description\" content=\"".stripslashes($SETTINGS['descriptiontag'])."\">";
}
if($SETTINGS['keywordstag'] != '') {
print " <META name=\"keywords\" content=\"".stripslashes($SETTINGS['keywordstag'])."\">";
}
?>
<SCRIPT LANGUAGE="JavaScript">
<!--
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</SCRIPT>
<script language="JavaScript">
<!--
imagename='';
function enlrge(imgnme) {
lrgewin=window.open("about:blank","","width=300")
imagename=imgnme;
setTimeout('update()',500)
}
function win(fileName)
{
myFloater=window.open('','myWindow','scrollbars=auto,status=no,width=300')
myFloater.location.href=fileName;
}
function update() {
doc=lrgewin.document;
doc.open('text/html');
doc.write('<HTML><HEAD><TITLE>Enlarged Image<\/TITLE><\/HEAD><BODY bgcolor="#EEEEEE" onLoad="if (self.resizeTo)self.resizeTo((document.images[0].width+10),(document.images[0].height+85))" topmargin="4" leftmargin="0" rightmargin="0" bottommargin="0"><table width=""' + document.images[0].width + '" height="' + document.images[0].height +'"border="0" cellspacing="0" cellpadding="0"><tr><td>');
doc.write('<IMG SRC="' + imagename + '"><\/td><\/tr><tr><td align=center><form name="viewn"><input type="image" src="blank.gif" value="Close Window" onClick="self.close()"><p align="center"><font face="Arial, Helvetica, sans-serif" size="2" color=white><a href="Javascript:self.close();"><b><img src=images/close.gif border=0></a><\/font><\/p><br><br><\/td><\/tr><\/table>');
doc.write('<\/form><\/BODY><\/HTML>');
doc.close();
}
// -->
</script>
</HEAD>
<BODY onload="initDescription()" <?=(($SETTINGS['brepeat']!='no')? "style=\"background-image:url(".$prefix."uploaded/".$SETTINGS['background'].");background-repeat:".$SETTINGS['brepeat']."\"":'')?> BGCOLOR="#FFFFFF" LINK="<?=$SETTINGS['linkscolor']?>" ALINK="<?=$SETTINGS['vlinkscolor']?>" VLINK="<?=$SETTINGS['vlinkscolor']?>" topmargin="<?=(($PAGEWIDTH==100)?0:10)?>" leftmargin="<?=(($PAGEWIDTH==100)?0:10)?>" rightmargin="<?=(($PAGEWIDTH==100)?0:10)?>">
<!-----header table starts here------>
<div align="center">
<table border="0" width="780" cellspacing="0" cellpadding="0">
<tr>
<td>
<p align="center"><object classid="clsid😃27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="780" height="328">
<param name="movie" value="flash/header.swf">
<param name="quality" value="high">
<embed src="flash/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="328"></embed>
</object></td>
</tr>
</table>
</div>
<TABLE width="<?=$PAGEWIDTH?>" border="0" cellspacing="0" cellpadding="0" bgcolor="<?=$SETTINGS['bordercolor']?>" align="<?=$SETTINGS['alignment']?>">
<TR>
<TD><TABLE width="780" border="0" align="center" cellpadding="6" cellspacing="0" bgcolor="<?=$SETTINGS['headercolor']?>">
<TR align="right">
<center>
<TD width="94%" align="center" valign="MIDDLE" >
<?
if($SETTINGS['banners'] == 1) {
view();
} else {
print " ";
}
?></TD>
</center>
</TR>
<TR>
<TD valign="MIDDLE" align=right>
<?
//-- Get users and auctions counters
$COUNTERSTOSHOW = @mysql_fetch_array(@mysql_query("SELECT * FROM PHPAUCTION_counterstoshow"));
$query = "select * from PHPAUCTION_counters";
$result_counters = mysql_query($query);
if($result_counters) {
if($COUNTERSTOSHOW['auctions'] == 'y') $counters .= $sml_font."<B>".mysql_result($result_counters,0,"auctions")."</B> ".strtoupper($MSG_232)."</FONT>";
if($COUNTERSTOSHOW['users'] == 'y') $counters .= " ".$sml_font."<B>".mysql_result($result_counters,0,"users")."</B> ".strtoupper($MSG_231);
print $counters;
if($COUNTERSTOSHOW['online'] == 'y') include $prefix."online.php";
}
?>
<br><b>
<?
//-- Display current Date/Time
print $sml_font.ActualDate();
?>
</b> </TD>
</TR>
</TABLE>
<TABLE width="100%" border="0" cellspacing="0" cellpadding="4" bgcolor="<?=$SETTINGS['headercolor']?>">
</TABLE>
<TABLE bgcolor="<?=$SETTINGS['headercolor']?>" border=0 width="100%" cellspacing="0" cellpadding="6">
<TR width=100%>
<FORM name="search" action="<?=$SETTINGS['siteurl']?>search.php" method="GET"><TD width="50%" align="left" valign=top nowrap background="images/picback.jpg">
<div align="center">
<INPUT type=HIDDEN name="">
<? print $sml_font.$MSG_103 ?></FONT>
<INPUT type="text" name="q" size=15 value="<SCRIPT Language=PHP> print htmlspecialchars($q); </SCRIPT>">
<INPUT TYPE="submit" NAME="" VALUE="<? print $MSG_275;?>">
<A HREF="<?=$SETTINGS['siteurl']?>adsearch.php"> <? print $sml_font.$MSG_464 ?> </A></FONT>
</div></TD>
</FORM>
<FORM name=browse action="<?=$SETTINGS['siteurl']?>browse.php" method=GET><TD width="50%" valign=top nowrap background="images/picback.jpg">
<div align="center">
<INPUT type=HIDDEN name="">
<? print $sml_font.$MSG_104; ?></FONT>
<? include $prefix."./includes/categories_select_box.inc.php"; ?>
<INPUT TYPE="submit" NAME="" VALUE="<? print $MSG_275;?>">
</div></TD></FORM>
</TR>
</TABLE>