<?
#################################################################
## PHP Pro Bid v6.10															##
##-------------------------------------------------------------##
## Copyright ©2007 PHP Pro Software LTD. All rights reserved.	##
##-------------------------------------------------------------##
#################################################################

if ( !defined('INCLUDED') ) { die("Access Denied"); }

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
<?=$page_title;?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CODEPAGE;?>">
<?=$page_meta_tags;?>
<link href="themes/<?=$setts['default_theme'];?>/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.catfeatc3 { 
background-image:  url(themes/<?=$setts['default_theme'];?>/img/menuico.gif);
background-repeat: no-repeat;
background-position: 3px 7px;
padding-left: 17px;
} 
.catfeatpic {
background-image:  url(themes/<?=$setts['default_theme'];?>/img/fbg.gif);
background-repeat:repeat-x;
}
.topic_id { 
	background-image:  url(themes/<?=$setts['default_theme'];?>/img/ico_m.gif);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	 }
-->

 
}
.busq{ 
  border: 1px 
    float: center;
    font-size: 13px;
    padding: 3px 5px;
    margin-top:5px;
 }



</style> 

<link href="themes/<?=$setts['default_theme'];?>/style.css" rel="stylesheet" type="text/css">
<script src="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
<script src="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
<script src="themes/<?=$setts['default_theme'];?>/SpryAssets/tab.js" type="text/javascript"></script>
<link href="themes/<?=$setts['default_theme'];?>/SpryAssets/tab.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.bg {
 background-image: url(themes/<?=$setts['default_theme'];?>/img/subbg.gif);
}


.TabbedPanelsTab {
 BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabg2.gif) no-repeat right top;
}
.TabbedPanelsTab a {
 BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabg1.gif) no-repeat left top;
}
.TabbedPanelsTabSelected {
 BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabbrown2.gif) no-repeat right top;
}
.TabbedPanelsTabSelected a {
 BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabbrown1.gif) no-repeat left top;
}
.placebid {
	font-size: 18px;
	font-weight: bold;
	height: 38px;
}
.lb {
	border-right: 1px solid #111212;
	border-left: 1px solid #606468;
	font-size: 11px;
	font-weight: bold;
	background-image: url(themes/<?=$setts['default_theme'];?>/img/subbg.gif);
}
.lb a {
	color: #ffffff;
	text-decoration: none;
}
.lb a:hover {
	color: #ffffff;
	text-decoration: none;
}
.db {
	font-size: 11px;
	font-weight: bold;
	border-right: 1px solid #111212;
	border-left: 1px solid #606468;
	background-image: url(themes/<?=$setts['default_theme'];?>/img/db_bg.gif);
}
.db a {
	color: #ffffff;
	text-decoration: none;
}
.db a:hover {
	color: #ffffff;
	text-decoration: none;
}
.today {
background: #ffffff url(themes/<?=$setts['default_theme'];?>/img/listedtoday.gif) top right no-repeat;
}
.day {
background: #ffffff url(themes/<?=$setts['default_theme'];?>/img/day.gif) bottom left no-repeat;
}
.hour {
background: #ffffff url(themes/<?=$setts['default_theme'];?>/img/hour.gif) bottom left no-repeat;
}
.hl_item1 {
	border: 2px solid #ffa500;
}

-->
</style>

<script type="text/javascript">
function submitform()
{
    document.forms["bar_search"].submit();
}
</script>

</head>
<script type="text/javascript">
$(document).ready(function() {
   // Muestra y oculta los menús
   $(' #menu_bg_tp ul li:has(ul)').hover(
      function(e)
      {
         $(this).find('ul').css({display: "block"});
      },
      function(e)
      {
         $(this).find('ul').css({display: "none"});
      }
   );
});
</script>


<body topmargin="0" leftmargin="0" >
<div style="display: none; position: absolute;z-index:0; left:0px; top:0px" id="preview_div"></div>


<div align="center">
<table width="1100" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<table width="100%" border="0" cellpadding="3">
<tbody><tr>
<td align="right">


<div id="menu_bg_tp">

<ul id="menuv_tp">
<li id="menuv_tp_pal"><a href="<?=$index_link;?>" ><?=MSG_BTN_HOME;?>|</a>
<li id="menuv_tp_pal"><a href="<?=$place_ad_link;?>"><?=$place_ad_btn_msg;?>|</a>
<? if ($setts['enable_stores'] ) {	?>
           <div id="submenu_tp">
             <ul>
           <li><a href="<?=$place_ad_link;?>"><?=$place_ad_btn_msg;?></a></li>
            <?  if ($setts['enable_wanted_ads'])  { ?>
             <li><a href="members_area.php?page=wanted_ads&section=new"><?= strtoupper(MSG_SUBMIT_WANTED_AD);?></a></li>
             <? } ?>
              <?  if ($setts['enable_reverse_auctions'])  { ?>
              <li><a href="members_area.php?page=reverse&section=new_auction"><?= strtoupper(MSG_SUBMIT_REVERSE);?></a></li>
             <? } ?>
 </ul>
</div>
 <li id="menuv_tp_pal"><a href="<?=process_link('stores');?>"><?=MSG_BTN_STORES;?>|</a>
 <? } ?>
  <?  if ($setts['enable_reverse_auctions'])  { ?>
<li id="menuv_tp_pal"> <a href="<?=process_link('reverse_auctions');?>"><?=MSG_REVERSE;?>|</a>
 <? } ?>
 
 <?  if ($setts['enable_wanted_ads'])  { ?>
<li id="menuv_tp_pal"><a href="<?=process_link('wanted_ads');?>"><?=MSG_BTN_WANTED_ADS;?>|</a>
<? } ?>

<li id="menuv_tp_pal"><a href="<?=process_link('content_pages', array('page' => 'help'));?>"><?=MSG_BTN_HELP;?>|</a>
              <div id="submenu_tp">
               <ul>
                <li><a href="<?=process_link('content_pages', array('page' => 'help'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_faq.gif" align='absmiddle' id="icomenu" border="0">
                        <?=MSG_BTN_HELP;?>
                        </a></li>
	            <li><a href="<?=process_link('content_pages', array('page' => 'faq'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_faq.gif" align='absmiddle' id="icomenu" border="0">
                        <?=MSG_BTN_FAQ;?>
                        </a></li>
  
                 <? if ($layout['is_about']) { ?>
                 <li><a href="<?=process_link('content_pages', array('page' => 'about_us'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_about.gif" align='absmiddle' id="icomenu" border="0">
                      <?=MSG_BTN_ABOUT_US;?>
                        </a></li>
                     <? } ?>
                     
                      <? if ($layout['enable_site_fees_page']) { ?>
                     <li><a  href="<?=process_link('site_fees');?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_fees.gif" align='absmiddle' id="icomenu" border="0">
                        <?=MSG_BTN_SITE_FEES;?>
                        </a></li>
                     <? } ?>     
     
 </ul>
  </div>    
 <li id="menuv_tp_pal"><a href="<?=process_link('content_pages', array('page' => 'contact_us'));?>"><?=MSG_BTN_CONTACT_US;?></a>
 </div>
  </ul>
</li>
</ul>
</div>

</td></tr>

</tbody></table>
<div><br></div>

<table width="100%" border="0" cellspacing="0">
<tr>
<td class="logo_pal"> <a href="<?=$index_link;?>" class="logo_pal"><img src="images/probidlogo.gif" alt="Auction" border="0"></a> </td>
<td width="40">&nbsp;</td>
<td> <? if ($member_active == 'Active') { ?>
                     <b><?=MSG_WELCOME_BACK;?>, <b><?=$member_username; ?></b>&nbsp; &nbsp;
                    
                     <? } else { ?>
                     <b><?=MSG_WELCOME;?>!</b> &nbsp; &nbsp;
                    <? } ?>
                    <?	if (stristr($_SERVER['PHP_SELF'], "members_area.php")||stristr($_SERVER['PHP_SELF'], "register.php")) { ?>
            
                     <a href="<?=$register_link;?>"><?=$register_btn_msg;?></a>&nbsp; &nbsp;
                     <? } else { ?>
                   <a href="<?=$register_link;?>"><?=$register_btn_msg;?></a>&nbsp;or&nbsp;
                     <? } if (stristr($_SERVER['PHP_SELF'], "login.php")) { ?>
                    <a href="<?=$login_link;?>"><?=$login_btn_msg;?></a>&nbsp; &nbsp;
                     <? } else { ?>
               
                     <a href="<?=$login_link;?>"> <?=$login_btn_msg;?></a>&nbsp; &nbsp;
                        <? }?></td>
<td>&nbsp;</td>
</tr>
</table>

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="11" valign="top"><img src="themes/<?=$setts['default_theme'];?>/img/y_lef.jpg" width="11" height="44"></td>
<td width="410px" id="bar_bg">
<form action="auction_search.php" method="post" id="bar_search" style="margin:0px;" >
                        <input type="hidden" name="option" value="basic_search">
                     
                        <input type="text" size="64" name="basic_search" class="bar_search_field" >

</td>
<td id="bar_bg">  <input name="buscador" type="submit" value="<?=GMSG_SEARCH;?>" class="bar_search_button" id="gh-btn">
   </form>
</td>
<td id="bar_bg"> <form name="cat_browse_form" method="get" action="categories.php">
             <div style="margin-top:10px;">
                <?=$categories_browse_box;?>
          </div>
                     </form></td>
<td id="bar_bg"><a id="ad_search" href="search.php"><?=MSG_ADVANCED_SEARCH;?></a>  </td>
<td width="11" valign="top"><img src="themes/<?=$setts['default_theme'];?>/img/y_rig.jpg" width="11" height="44"></td>
</tr>
</table>

<table width="100%" border="0" cellspacing="1"><tbody><tr>
<td valign="top" width="100%">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="menu_under" height="30">
                  <tr>
                        <? if ($setts['enable_addthis']) { ?>
                    <? } ?>
                     <? if ($setts['user_lang']) { ?>
               <? } ?>
                     <? if ($setts['enable_addthis']) { ?>
                     <td nowrap  align="center"> 
                     &nbsp;&nbsp;
                        <?=$share_code;?>
                        &nbsp;&nbsp; <?=$current_date;?>
                     <span id="servertime"></span></td>
                     <? } ?>
                     <? if ($setts['user_lang']) { ?>
                     <td nowrap  align="center">
                   
                     &nbsp;&nbsp;
                        <?=$languages_list;?>
                        &nbsp;&nbsp;</td>
                     <? } ?>
                  </tr>
               </table></td>
         </tr>
      </table>
      <br>
   
      <table width="100%" border="0" cellspacing="0" cellpadding="0" >
      <tr valign="top">
      
      
      	<? if (!in_array($page_file_name, $browse_pages)) { ?>      	
         <td ><table width="100%" border="0" cellpadding="0" cellspacing="0" height="22" >
             
            <? if (eregi("members_area.php",$_SERVER['PHP_SELF']) || eregi("index.php",$_SERVER['PHP_SELF'])) { ?> 
         
            </table>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
           
          
           
            <script language="javascript">
					var ie4 = false;
                  if(document.all) {
							ie4 = true;
                  }
                  function getObject(id) {
                        if (ie4) {
                                return document.all[id];
                        } else {
                                return document.getElementById(id);
                        }
                  }

					function toggle(link, divId) {
						var lText = link.innerHTML;
						var d = getObject(divId);
                         if (lText == '+') {
                                 link.innerHTML = '&#8722;';
                                 d.style.display = 'block';
                         } else {
                                 link.innerHTML = '+';
                                 d.style.display = 'none';
                         }
					}
				</script>
            <? if ($is_announcements && $member_active == 'Active') { ?>
            <?=$announcements_box_header;?>
            <div id="exp1102170555">
               <?=$announcements_box_content;?>
            </div>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
            <? } ?>
           <? if (eregi("members_area.php",$_SERVER['PHP_SELF'])) { ?>
            <?=$menu_box_header;?>
            <div id="exp1102170142">
            <?=$menu_box_content;?>
            </div>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
	    <? } ?>
           
           
         <? if (eregi("index.php",$_SERVER['PHP_SELF'])) { ?>
            
            <noscript>
            <?=MSG_JS_NOT_SUPPORTED;?>
            </noscript>
   
            <?=$category_box_header;?>
            <div id="exp1102170166">
            <?=$category_box_content;?>
            </div>
	    <? } ?>
        
            <?=$banner_position[1];?>
            <?=$banner_position[2];?>
            <br>
            <div align="center"><a href="rss_feed.php"><img src="themes/<?=$setts['default_theme'];?>/img/system/rss.gif" border="0" alt="" align="absmiddle"></a></div> <? } ?> 
				<? if ($setts['enable_skin_change']) { ?>
				<br>
				<form action="index.php" method="GET">
					<div align="center">
						<?=MSG_CHOOSE_SKIN;?>:<br>
						<?=$site_skins_dropdown;?>
						<input type="submit" name="change_skin" value="<?=GMSG_GO;?>">
					</div>   				
				</form>
				<? } ?>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="180" height="1"></div></td>
         <td  ><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="0" height="1"></td>
         
         <? } ?>
         <td width="100%">
     