Guest User

auction details

a guest
May 2nd, 2012
1,093
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 78.16 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>
  5. <?=$page_title;?>
  6. </title>
  7. <meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CODEPAGE;?>">
  8. <?=$page_meta_tags;?>
  9. <link href="themes/<?=$setts['default_theme'];?>/style.css" rel="stylesheet" type="text/css">
  10. <script src="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
  11. <link href="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
  12. <script src="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
  13. <link href="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
  14. <style type="text/css">
  15. <!--
  16. .bg {
  17. background-image: url(themes/<?=$setts['default_theme'];?>/img/subbg.gif);
  18. }
  19. .TabbedPanelsTab {
  20. BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabg2.gif) no-repeat right top;
  21. }
  22. .TabbedPanelsTab a {
  23. BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabg1.gif) no-repeat left top;
  24. }
  25. .TabbedPanelsTabSelected {
  26. BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabbrown2.gif) no-repeat right top;
  27. }
  28. .TabbedPanelsTabSelected a {
  29. BACKGROUND: url(themes/<?=$setts['default_theme'];?>/img/tabbrown1.gif) no-repeat left top;
  30. }
  31. .placebid {
  32.     font-size: 18px;
  33.     font-weight: bold;
  34.     height: 38px;
  35. }
  36. .lb {
  37.     border-right: 1px solid #123e79;
  38.     border-left: 1px solid #6692c8;
  39.     font-size: 12px;
  40.     font-weight: bold;
  41.     background-image: url(themes/<?=$setts['default_theme'];?>/img/subbg.gif);
  42. }
  43. .lb a {
  44.     color: #ffffff;
  45.     text-decoration: none;
  46. }
  47. .lb a:hover {
  48.     color: #ffffff;
  49.     text-decoration: none;
  50. }
  51. .db {
  52.     font-size: 12px;
  53.     font-weight: bold;
  54.     border-right: 1px solid #123e79;
  55.     border-left: 1px solid #6692c8;
  56.     background-image: url(themes/<?=$setts['default_theme'];?>/img/db_bg.gif);
  57. }
  58. .db a {
  59.     color: #ffffff;
  60.     text-decoration: none;
  61. }
  62. .db a:hover {
  63.     color: #ffffff;
  64.     text-decoration: none;
  65. }
  66. .today {
  67. background: #ffffff url(themes/<?=$setts['default_theme'];?>/img/listedtoday.gif) top right no-repeat;
  68. }
  69. .day {
  70. background: #ffffff url(themes/<?=$setts['default_theme'];?>/img/day.gif) bottom left no-repeat;
  71. }
  72. .hour {
  73. background: #ffffff url(themes/<?=$setts['default_theme'];?>/img/hour.gif) bottom left no-repeat;
  74. }
  75. .hl_item1 {
  76.     border: 2px solid #ffa500;
  77. }
  78. -->
  79. </style>
  80. <? if (eregi("index.php",$_SERVER['PHP_SELF']) && $setts['daily_deals']) { ?>
  81. <script>
  82.  $(document).ready(function() {
  83.      $("#responsecontainer").load("daily_deal.php");
  84.    var timexid = <?php echo json_encode($layout['dailydeal_timer']); ?>;
  85.    var refreshId = setInterval(function() {
  86.       $("#responsecontainer").load('daily_deal.php?randval='+ Math.random());
  87.    }, timexid);
  88.    $.ajaxSetup({ cache: false });
  89. });
  90. </script>
  91. <? } ?>
  92. <script type="text/javascript">
  93. var ie4 = false;
  94. if(document.all) { ie4 = true; }
  95.  
  96. function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
  97. function toggle(link, divId) {
  98.     var lText = link.innerHTML;
  99.     var d = getObject(divId);
  100.     if (lText == '+') { link.innerHTML = '&#8211;'; d.style.display = 'block'; }
  101.     else { link.innerHTML = '+'; d.style.display = 'none'; }
  102. }
  103. </script>
  104.  
  105. </head>
  106. <body leftmargin="5" topmargin="5" marginwidth="5" marginheight="5">
  107. <table width="980" border="0" align="center" cellpadding="10" cellspacing="0">
  108. <tr>
  109.    <td>
  110.    <table width="100%" border="0" cellpadding="0" cellspacing="0">
  111.       <tr valign="bottom">
  112.          <td style="padding-bottom: 10px;"><a href="<?=$index_link;?>"><img src="images/probidlogo.gif" alt="Professional Auction Script Software by PHP Pro Bid" border="0"></a></td>
  113.          <td width="100%" valign="bottom" style="padding-left: 15px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  114.                <tr height="60">
  115.                   <td nowrap style="border-left: 1px solid #cccccc; padding-left: 15px; padding-top: 8px;" class="mainmenu" width="100%"><div style="padding-bottom: 3px;">
  116.                         <?=$current_date;?>
  117.                         <span id="servertime"></span></div>
  118.                      <? if ($member_active == 'Active') { ?>
  119.                      <?=MSG_WELCOME_BACK;?>, <b><?=$member_username; ?></b><br>
  120.                      <a href="<?=$login_link;?>"><?=$login_btn_msg;?></a>
  121.                      <? } else { ?>
  122.                      <?=MSG_WELCOME;?>! &nbsp;
  123.                      <a href="<?=$login_link;?>"><?=$login_btn_msg;?></a> or
  124.                      <a href="<?=$register_link;?>"><?=$register_btn_msg;?></a>
  125.                      <? } ?>
  126.                      &nbsp;&nbsp;&nbsp;
  127.                      <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="200" height="1"></div></td>
  128.                         <td nowrap>&nbsp;</td>
  129.  
  130.  
  131.                   <td>&nbsp;</td>
  132.                </tr>
  133.             </table>
  134.             <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="10"></div></td>
  135.       </tr>
  136.    </table>
  137.    <table width="100%" border="0" cellspacing="0" cellpadding="0" background="themes/<?=$setts['default_theme'];?>/img/subbg.gif">
  138.       <tr align="center">
  139.          <td width="6" style="border-right: 1px solid #111212;"><a href="<?=$index_link;?>"><img src="themes/<?=$setts['default_theme'];?>/img/home_i.gif" width="49" height="49" border="0"></a></td>
  140.          <td nowrap width="<?=$header_cell_width;?>" <? if (stristr($_SERVER['PHP_SELF'], "categories.php")) { ?>class="db" <? } else { ?> class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';"<? } ?>>
  141.             <ul id="MenuBarCategories" class="MenuBarHorizontal">
  142.                <li style="background-color: transparent;">
  143.                 <a style="background-color: transparent; color: #ffffff; border: 0px;" class="MenuBarItemSubmenu" href="categories.php"><?=strtoupper(MSG_CATEGORIES);?></a>
  144.                  
  145.                 <ul><?=$category_box_content;?></ul>
  146.                </li>
  147.             </ul></td>
  148.          <? if (!$setts['enable_private_site'] || $is_seller) { ?>
  149.          <? if (stristr($_SERVER['PHP_SELF'], "sell_item.php")) { ?>
  150.          <td nowrap class="db" width="<?=$header_cell_width;?>">&nbsp;<a href="<?=$place_ad_link;?>"><?=$place_ad_btn_msg;?></a>&nbsp;</td>
  151.          <? } else { ?>
  152.          <td nowrap class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';" width="<?=$header_cell_width;?>">&nbsp;<a href="<?=$place_ad_link;?>"><?=$place_ad_btn_msg;?></a>&nbsp;</td>
  153.          <? } ?>
  154.             <? } ?>
  155.          <!-- Members Area Menu -->
  156.          <td nowrap <? if (stristr($_SERVER['PHP_SELF'], "members_area.php")||stristr($_SERVER['PHP_SELF'], "login.php")) { ?> class="db" <? } else { ?> class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';" <? } ?> width="<?=$header_cell_width;?>">
  157.              <ul id="MenuBar1" class="MenuBarHorizontal">
  158.                 <li style="background-color: transparent;"><a style="background-color: transparent; color: #ffffff; border: 0px;" href="members_area.php">
  159.                    <?=MSG_BTN_MEMBERS_AREA;?>
  160.                    </a>
  161.                    <ul>
  162.                       <? if ($member_active == 'Active') { ?>
  163.                       <li><a class="MenuBarItem" href="<?=process_link('members_area', array('page' => 'summary'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_summary.gif" border="0" align='absmiddle' id="icomenu">
  164.                          <?=MSG_MM_SUMMARY;?>
  165.                          </a></li>
  166.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'messaging', 'section' => 'received'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_message.gif" border="0" align='absmiddle' id="icomenu">
  167.                          <?=MSG_MM_MESSAGING;?>
  168.                          </a>
  169.                          <ul>
  170.                             <li><a href="<?=process_link('members_area', array('page' => 'messaging', 'section' => 'received'));?>">
  171.                                <?=MSG_MM_RECEIVED;?>
  172.                                </a></li>
  173.                             <li><a href="<?=process_link('members_area', array('page' => 'messaging', 'section' => 'sent'));?>">
  174.                                <?=MSG_MM_SENT;?>
  175.                                </a></li>
  176.                          </ul>
  177.                       </li>
  178.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'current_bids'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_bidding.gif" border="0" align='absmiddle' id="icomenu">
  179.                          <?=MSG_MM_BIDDING;?>
  180.                          </a>
  181.                          <ul >
  182.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'current_bids'));?>">
  183.                                <?=MSG_MM_CURRENT_BIDS;?>
  184.                                </a></li>
  185.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'bids_offers'));?>">
  186.                                <?=MSG_MM_ITEMS_WITH_OFFERS;?>
  187.                                </a></li>
  188.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'won_items'));?>">
  189.                                <?=MSG_MM_WON_ITEMS;?>
  190.                                </a></li>
  191.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'invoices_received'));?>">
  192.                                <?=MSG_MM_INVOICES_RECEIVED;?>
  193.                                </a></li>
  194.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'item_watch'));?>">
  195.                                <?=MSG_MM_WATCHED_ITEMS;?>
  196.                                </a></li>
  197.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'favorite_stores'));?>">
  198.                                <?=MSG_MM_FAVORITE_STORES;?>
  199.                                </a></li>
  200.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'keywords_watch'));?>">
  201.                                <?=MSG_MM_KEYWORDS_WATCH;?>
  202.                                </a></li>
  203.                             <li><a href="<?=process_link('members_area', array('page' => 'bidding', 'section' => 'saved_searches'));?>">
  204.                                <?=MSG_MM_SAVED_SEARCHES;?>
  205.                                </a></li>
  206.                          </ul>
  207.                       </li>
  208.                       <? if ($is_seller) { ?>
  209.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'open'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_selling.gif" border="0" align='absmiddle' id="icomenu">
  210.                          <?=MSG_MM_SELLING;?>
  211.                          </a>
  212.                          <ul>
  213.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'open'));?>">
  214.                                <?=MSG_MM_OPEN_AUCTIONS;?>
  215.                                </a></li>
  216.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'bids_offers'));?>">
  217.                                <?=MSG_MM_ITEMS_WITH_BIDS;?>
  218.                                </a></li>
  219.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'scheduled'));?>">
  220.                                <?=MSG_MM_SCHEDULED_AUCTIONS;?>
  221.                                </a></li>
  222.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'closed'));?>">
  223.                                <?=MSG_MM_CLOSED_AUCTIONS;?>
  224.                                </a></li>
  225.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'drafts'));?>">
  226.                                <?=MSG_MM_DRAFTS;?>
  227.                                </a></li>
  228.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'sold'));?>">
  229.                                <?=MSG_MM_SOLD_ITEMS;?>
  230.                                </a></li>
  231.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'invoices_sent'));?>">
  232.                                <?=MSG_MM_INVOICES_SENT;?>
  233.                                </a></li>
  234.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'fees_calculator'));?>">
  235.                                <?=MSG_MM_FEES_CALCULATOR;?>
  236.                                </a></li>
  237.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'prefilled_fields'));?>">
  238.                                <?=MSG_MM_PREFILLED_FIELDS;?>
  239.                                </a></li>
  240.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'block_users'));?>">
  241.                                <?=MSG_MM_BLOCK_USERS;?>
  242.                                </a></li>
  243.                             <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'suggest_category'));?>">
  244.                                <?=MSG_MM_SUGGEST_CATEGORY;?>
  245.                                </a></li>
  246.                                 <? if ($setts['enable_shipping_costs']) { ?>
  247.                                 <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'postage_setup'));?>">
  248.                                     <?=MSG_MM_POSTAGE_CALC_SETUP;?>
  249.                                     </a></li>
  250.                                 <? } ?>
  251.                                 <li><a href="<?=process_link('members_area', array('page' => 'selling', 'section' => 'vouchers'));?>">
  252.                                     <?=MSG_MM_SELLER_VOUCHERS;?>
  253.                                     </a></li>
  254.                          </ul>
  255.                       </li>
  256.                       <? } ?>
  257.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'reputation', 'section' => 'received'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_reputation.gif" border="0" align='absmiddle' id="icomenu">
  258.                          <?=MSG_MM_REPUTATION;?>
  259.                          </a>
  260.                          <ul>
  261.                             <li><a href="<?=process_link('members_area', array('page' => 'reputation', 'section' => 'received'));?>">
  262.                                <?=MSG_MM_MY_REPUTATION;?>
  263.                                </a></li>
  264.                             <li><a href="<?=process_link('members_area', array('page' => 'reputation', 'section' => 'sent'));?>">
  265.                                <?=MSG_MM_LEAVE_COMMENTS;?>
  266.                                </a></li>
  267.                          </ul>
  268.                       </li>
  269.                       <? if ($is_seller && $setts['enable_bulk_lister']) { ?>
  270.                       <li><a class="MenuBarItem" href="<?=process_link('members_area', array('page' => 'bulk', 'section' => 'details'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_bulk.gif" border="0" align='absmiddle' id="icomenu">
  271.                          <?=MSG_MM_BULK;?>
  272.                          </a></li>
  273.                       <? } ?>
  274.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'about_me', 'section' => 'view'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_aboutme.gif" border="0" align='absmiddle' id="icomenu">
  275.                          <?=MSG_MM_ABOUT_ME;?>
  276.                          </a>
  277.                          <ul>
  278.                             <li><a href="<?=process_link('members_area', array('page' => 'about_me', 'section' => 'view'));?>">
  279.                                <?=MSG_MM_VIEW;?>
  280.                                </a></li>
  281.                             <? if ($setts['enable_profile_page']) { ?>
  282.                             <li><a href="<?=process_link('members_area', array('page' => 'about_me', 'section' => 'profile'));?>">
  283.                                <?=MSG_PROFILE_PAGE;?>
  284.                                </a></li>
  285.                             <? } ?>
  286.                          </ul>
  287.                       </li>
  288.                       <? if ($setts['enable_stores'] && $is_seller) { ?>
  289.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'store', 'section' => 'subscription'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_mystore.gif" align='absmiddle' id="icomenu" border="0">
  290.                          <?=MSG_MM_STORE;?>
  291.                          </a>
  292.                          <ul>
  293.                             <li><a href="<?=process_link('members_area', array('page' => 'store', 'section' => 'subscription'));?>">
  294.                                <?=MSG_STORE_SETTINGS;?>
  295.                                </a></li>
  296.                             <!--
  297.                             <li><a href="<?=process_link('members_area', array('page' => 'store', 'section' => 'setup'));?>">
  298.                                <?=MSG_MM_MAIN_SETTINGS;?>
  299.                                </a></li>
  300.                             -->
  301.                             <li><a href="<?=process_link('members_area', array('page' => 'store', 'section' => 'store_pages'));?>">
  302.                                <?=MSG_MM_STORE_PAGES;?>
  303.                                </a></li>
  304.                             <li><a href="<?=process_link('members_area', array('page' => 'store', 'section' => 'categories'));?>">
  305.                                <?=MSG_MM_CUSTOM_CATS;?>
  306.                                </a></li>
  307.                          </ul>
  308.                       </li>
  309.                       <? } ?>
  310.                       <? if ($setts['enable_wanted_ads']) { ?>
  311.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'wanted_ads', 'section' => 'new'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_wanted.gif" align='absmiddle' id="icomenu" border="0">
  312.                          <?=MSG_MM_WANTED_ADS;?>
  313.                          </a>
  314.                          <ul>
  315.                             <li><a href="<?=process_link('members_area', array('page' => 'wanted_ads', 'section' => 'new'));?>">
  316.                                <?=MSG_MM_ADD_NEW;?>
  317.                                </a></li>
  318.                             <li><a href="<?=process_link('members_area', array('page' => 'wanted_ads', 'section' => 'open'));?>">
  319.                                <?=MSG_MM_OPEN;?>
  320.                                </a></li>
  321.                             <li><a href="<?=process_link('members_area', array('page' => 'wanted_ads', 'section' => 'closed'));?>">
  322.                                <?=MSG_MM_CLOSED;?>
  323.                                </a></li>
  324.                          </ul>
  325.                       </li>
  326.                       <? } ?>
  327.                             <? if ($setts['enable_reverse_auctions']) { ?>
  328.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'open'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_selling.gif" border="0" align='absmiddle' id="icomenu">
  329.                          <?=MSG_MM_REVERSE_AUCTIONS;?>
  330.                          </a>
  331.                          <ul>
  332.                                 <li><?=MSG_MM_GET_SERVICES;?></li>
  333.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'new_auction'));?>"><?=MSG_MM_CREATE_REVERSE_AUCTION;?></a></li>
  334.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'open'));?>"><?=MSG_MM_OPEN;?></a></li>
  335.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'closed'));?>"><?=MSG_MM_CLOSED;?></a></li>
  336.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'scheduled'));?>"><?=MSG_MM_SCHEDULED;?></a></li>
  337.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'awarded'));?>"><?=MSG_MM_AWARDED;?></a></li>
  338.                                 <li><?=MSG_MM_PROVIDE_SERVICES;?></li>
  339.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'my_profile'));?>"><?=MSG_MM_PROFILE;?></a></li>
  340.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'my_bids'));?>"><?=MSG_MM_MY_BIDS;?></a></li>
  341.                                 <li><a href="<?=process_link('members_area', array('page' => 'reverse', 'section' => 'won'));?>"><?=MSG_MM_MY_PROJECTS;?></a></li>         
  342.                               </ul>
  343.                            </li>
  344.                             <? } ?>
  345.                       <li><a class="MenuBarItemSubmenu" href="<?=process_link('members_area', array('page' => 'account', 'section' => 'editinfo'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_myaccount.gif" border="0" align='absmiddle' id="icomenu">
  346.                          <?=MSG_MM_MY_ACCOUNT;?>
  347.                          </a>
  348.                          <ul>
  349.                             <li><a href="<?=process_link('members_area', array('page' => 'account', 'section' => 'editinfo'));?>">
  350.                                <?=MSG_MM_PERSONAL_INFO;?>
  351.                                </a></li>
  352.                             <li><a href="<?=process_link('members_area', array('page' => 'account', 'section' => 'management'));?>">
  353.                                <?=MSG_MM_MANAGE_ACCOUNT;?>
  354.                                </a></li>
  355.                             <li><a href="<?=process_link('members_area', array('page' => 'account', 'section' => 'history'));?>">
  356.                                <?=MSG_MM_ACCOUNT_HISTORY;?>
  357.                                </a></li>
  358.                             <li><a href="<?=process_link('members_area', array('page' => 'account', 'section' => 'mailprefs'));?>">
  359.                                <?=MSG_MM_MAIL_PREFS;?>
  360.                                </a></li>
  361.                             <li><a href="<?=process_link('members_area', array('page' => 'account', 'section' => 'abuse_report'));?>">
  362.                                <?=MSG_MM_ABUSE_REPORT;?>
  363.                                </a></li>
  364.                          </ul>
  365.                       </li>
  366.                       <? } ?>
  367.                       <? if ($member_active == 'Active') { ?>
  368.                       <li><a href="<?=$login_link;?>" class="MenuBarItem"><img src="themes/<?=$setts['default_theme'];?>/img/ico_logout.gif" align='absmiddle' id="icomenu" border="0">
  369.                          <?=$login_btn_msg;?>
  370.                          </a></li>
  371.                       <?} else { ?>
  372.                       <li><a href="<?=$login_link;?>" class="MenuBarItem"><img src="themes/<?=$setts['default_theme'];?>/img/ico_login.gif" align='absmiddle' id="icomenu" border="0">
  373.                          <?=$login_btn_msg;?>
  374.                          </a></li>
  375.                       <li><a href="<?=$register_link;?>" class="MenuBarItem"><img src="themes/<?=$setts['default_theme'];?>/img/ico_register.gif" align='absmiddle' id="icomenu" border="0">
  376.                          <?=$register_btn_msg;?>
  377.                          </a></li>
  378.                       <? } ?>
  379.                    </ul>
  380.                 </li>
  381.              </ul>
  382.             </td>
  383.      
  384.           <!-- EOF MEMBERS AREA MENU -->
  385.           <? if ($setts['enable_stores']) { ?>
  386.           <? if (stristr($_SERVER['PHP_SELF'], "stores.php")) { ?>
  387.           <td nowrap class="db" width="<?=$header_cell_width;?>">
  388.             &nbsp;<a href="<?=process_link('stores');?>"><?=MSG_BTN_STORES;?></a>&nbsp;</td>
  389.             <? } else { ?>
  390.             <td nowrap class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';" width="<?=$header_cell_width;?>">
  391.                 &nbsp;<a href="<?=process_link('stores');?>"><?=MSG_BTN_STORES;?></a>&nbsp;</td>
  392.             <? } ?>
  393.             <? } ?>
  394.             <? if ($setts['enable_reverse_auctions']) { ?>
  395.             <? if (stristr($_SERVER['PHP_SELF'], "reverse_auctions.php")) { ?>
  396.             <td nowrap class="db" width="<?=$header_cell_width;?>">
  397.                 &nbsp;<a href="<?=process_link('reverse_auctions');?>"><?=MSG_REVERSE;?></a>&nbsp;</td>
  398.             <? } else { ?>
  399.             <td nowrap class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';"  width="<?=$header_cell_width;?>">
  400.                 &nbsp;<a href="<?=process_link('reverse_auctions');?>"><?=MSG_REVERSE;?></a>&nbsp;</td>
  401.             <? } ?>
  402.             <? } ?>
  403.             <? if ($setts['enable_wanted_ads']) { ?>
  404.             <? if (stristr($_SERVER['PHP_SELF'], "wanted_ads.php")) { ?>
  405.             <td nowrap class="db" width="<?=$header_cell_width;?>">
  406.                 &nbsp;<a href="<?=process_link('wanted_ads');?>"><?=MSG_BTN_WANTED_ADS;?></a>&nbsp;</td>
  407.             <? } else { ?>
  408.             <td nowrap class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';"  width="<?=$header_cell_width;?>">
  409.                 &nbsp;<a href="<?=process_link('wanted_ads');?>"><?=MSG_BTN_WANTED_ADS;?></a>&nbsp;</td>
  410.             <? } ?>
  411.             <? } ?>
  412.          <td nowrap <? if ($_REQUEST['page']=='help') { ?>class="db" <? } else { ?> class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';" <? } ?> width="<?=$header_cell_width;?>">
  413.             <ul id="MenuBarHelp" class="MenuBarHorizontal">
  414.                <li style="background-color: transparent;"> <a style="background-color: transparent; color: #ffffff; border: 0px;" href="<?=process_link('content_pages', array('page' => 'help'));?>">
  415.                   <?=MSG_BTN_HELP;?>
  416.                   </a>
  417.                   <ul>
  418.                      <li><a class="MenuBarItem" href="<?=process_link('content_pages', array('page' => 'help'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_faq.gif" align='absmiddle' id="icomenu" border="0">
  419.                         <?=MSG_BTN_HELP;?>
  420.                         </a></li>
  421.                      <li><a class="MenuBarItem" href="<?=process_link('content_pages', array('page' => 'faq'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_faq.gif" align='absmiddle' id="icomenu" border="0">
  422.                         <?=MSG_BTN_FAQ;?>
  423.                         </a></li>
  424.                      <? if ($layout['is_about']) { ?>
  425.                      <li><a class="MenuBarItem" 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">
  426.                         <?=MSG_BTN_ABOUT_US;?>
  427.                         </a></li>
  428.                      <? } ?>
  429.                      <? if ($layout['is_contact']) { ?>
  430.                      <li><a class="MenuBarItem" href="<?=process_link('content_pages', array('page' => 'contact_us'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_contact.gif" align='absmiddle' id="icomenu" border="0">
  431.                         <?=MSG_BTN_CONTACT_US;?>
  432.                         </a></li>
  433.                      <? } ?>
  434.                      <? if ($layout['enable_site_fees_page']) { ?>
  435.                      <li><a class="MenuBarItem" href="<?=process_link('site_fees');?>"><img src="themes/<?=$setts['default_theme'];?>/img/ico_fees.gif" align='absmiddle' id="icomenu" border="0">
  436.                         <?=MSG_BTN_SITE_FEES;?>
  437.                         </a></li>
  438.                      <? } ?>
  439.                   </ul>
  440.                </li>
  441.             </ul></td>
  442.             <td class="lb" nowrap width="100%" align="center" style="border-right: 0px;">
  443.                         <? if ($setts['enable_addthis']) { ?>
  444.                         <?=$share_code;?>
  445.                         <? } ?>
  446.     </td>
  447.          <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/sub2.gif" width="5" height="49"></td>
  448.       </tr>
  449.    </table>
  450.  
  451.    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  452.          <tr>
  453.             <td width="5"><img src="themes/<?=$setts['default_theme'];?>/img/sr1.gif" width="5" height="39"></td>
  454.             <td width="100%" bgcolor="#bdcfe8" style="border-top: 2px solid #ffffff;">
  455.           <table width="100%" border="0" cellpadding="0" cellspacing="0">
  456.          <tr>
  457.             <form action="auction_search.php" method="post">
  458.             <input type="hidden" name="option" value="basic_search">
  459.                <td class="search" nowrap><input type="text" size="75" name="basic_search"></td>
  460.  
  461.                <td class="search" nowrap><input name="form_basic_search" type="submit" value="Search">&nbsp;&nbsp;&nbsp;</td>
  462.             </form>
  463.  
  464.  
  465.             <td class="search" nowrap style="border-left: 1px solid #dddddd;">&nbsp;&nbsp;&nbsp;<?=strtoupper(GMSG_BROWSE);?>&nbsp;&nbsp;</td>
  466.                         <form name="cat_browse_form" method="get" action="categories.php">
  467.             <td class="search"><?=$categories_browse_box;?></td>
  468.             </form>
  469.  
  470.  
  471.             <td class="search" width="100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?=$setts['site_url'];?>search.php" title="Advaned Search">Advanced Search</a>&nbsp;&nbsp;&nbsp;</td>
  472.  
  473.                   <? if ($setts['user_lang']) { ?>
  474.                   <td nowrap align="center">&nbsp;&nbsp;<?=$languages_list;?>&nbsp;&nbsp;</td>
  475.                   <? } ?>
  476.  
  477.                      </tr>
  478.       </table>
  479.             </td>
  480.             <td width="5"><img src="themes/<?=$setts['default_theme'];?>/img/sr2.gif" width="5" height="39"></td>
  481.           </tr>
  482.  
  483.         </table>
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.    <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="10"></div>
  492.    <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
  493.    <tr>
  494.       <td width="10"><img src="themes/<?=$setts['default_theme'];?>/img/c1.gif" width="10" height="10"></td>
  495.       <td width="100%" style="border-top: 1px solid #bbbbbb;"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  496.       <td width="10"><img src="themes/<?=$setts['default_theme'];?>/img/c2.gif" width="10" height="10"></td>
  497.    </tr>
  498.    <tr>
  499.       <td width="10" style="border-left: 1px solid #bbbbbb;"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  500.       <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  501.          <tr valign="top">
  502.  
  503.     <? if (eregi("index.php",$_SERVER['PHP_SELF'])) { ?>
  504.          <td width="180">
  505.     <?=$menu_box_header;?>
  506.     <?=$menu_box_content;?>
  507.     <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="12"></div>
  508.  
  509.         <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="180" height="1"></div>
  510.     </td>
  511.         <td width="10"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="10" height="1"></td>
  512.     <? } ?>
  513.     <!--- Mod Column Left End --->
  514.  
  515.             <td width="100%">
  516.                     <?=$banner_position[5];?>
  517.  
  518. <SCRIPT LANGUAGE="JavaScript"><!--
  519. myPopup = '';
  520.  
  521. function openPopup(url) {
  522.     myPopup = window.open(url,'popupWindow','width=640,height=150,status=yes');
  523.   if (!myPopup.opener) myPopup.opener = self;
  524. }
  525. //-->
  526. </SCRIPT>
  527. <SCRIPT LANGUAGE = "JavaScript">
  528.     function converter_open(url) {
  529.         output = window.open(url,"popDialog","height=220,width=700,toolbar=no,resizable=yes,scrollbars=yes,left=10,top=10");
  530.     }  
  531. </SCRIPT>
  532. <? if ($ad_display == 'live') { ?>
  533.  
  534. <form name="hidden_form" action="auction_details.php" method="get" style="margin:0px;">
  535.    <input type="hidden" name="option" />
  536.    <input type="hidden" name="auction_id" />
  537.    <input type="hidden" name="message_content" />
  538.    <input type="hidden" name="question_id" />
  539. </form>
  540. <? } ?>
  541. <? if ($print_button == 'show') { ?>
  542. <table align="center" border="0" cellpadding="3" cellspacing="1" class="errormessage">
  543.    <tr>
  544.       <td class="contentfont"><a href="#" onclick="javascript:window.print(this);">
  545.          <?=GMSG_PRINT_THIS_PAGE;?>
  546.          </a></td>
  547.    </tr>
  548. </table>
  549. <? } ?>
  550. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  551.    <tr valign="top">
  552.       <td width="60%"><div class="itemid"><?=$item_details['name'];?></div>
  553.          <div class="itemidend">
  554.             <?=MSG_AUCTION_ID;?>: <b><?=$item_details['auction_id'];?></b>
  555.             <? if ($ad_display == 'live') { ?>
  556.             &nbsp;&nbsp;|&nbsp;&nbsp;<b><?=MSG_STATUS;?></b>: <?=item::item_status($item_details['closed']); ?>
  557.             <? } ?>
  558.             <? if ($ad_display == 'live' && $user_details['enable_item_counter']) { ?>
  559.             &nbsp;&nbsp;|&nbsp;&nbsp;<?=MSG_ITEM_VIEWED;?>
  560.             <span class="redfont"><?=($item_details['nb_clicks']+1); ?> <?=GMSG_TIMES;?></span>
  561.             <? } ?>
  562.          </div>
  563.          <div><img src='themes/<?=$setts['default_theme'];?>/img/pixel.gif' width='1' height='3'></div>
  564.          <table width="100%" border="0" cellpadding="0" cellspacing="0">
  565.             <tr>
  566.                <? if ($ad_display == 'live') { ?>
  567.                 <td nowrap valign="top">
  568.                     <table width="100%" border="0" cellpadding="3" cellspacing="1">
  569.                      <tr>
  570.                         <td class="contentfont" nowrap style="padding-right: 10px;"><img src="themes/<?=$setts['default_theme'];?>/img/arrow.gif" align="absmiddle" border="0" hspace="5"> <a href="<?=process_link('index');?>"><?=MSG_BACK_TO_HP;?></a></td>
  571.                     </tr>
  572.                             <? if (!empty($search_url)) { ?>
  573.                         <tr>
  574.                            <td class="contentfont" nowrap style="padding-right: 10px;"><img src="themes/<?=$setts['default_theme'];?>/img/arrow.gif" align="absmiddle" border="0" hspace="5"> <a href="<?=$search_url;?>"><?=MSG_BACK_TO_SEARCH_PAGE;?></a></td>
  575.                         </tr>  
  576.                         <? } ?>
  577.                             <? if ($user_details['shop_active']) { ?>
  578.                             <tr>
  579.                         <td class="contentfont" nowrap style="padding-right: 10px;"><img src="themes/<?=$setts['default_theme'];?>/img/arrow.gif" align="absmiddle" border="0" hspace="5"> <a href="<?=process_link('shop', array('user_id' => $item_details['owner_id']));?>"><?=MSG_VIEW_STORE;?></a></td>
  580.                             </tr>
  581.                             <? } ?>
  582.                         </table>
  583.                </td>
  584.                <? } ?>
  585.                <td width="100%" valign="top"><table width="100%" border="0" cellpadding="3" cellspacing="1">
  586.                      <tr>
  587.                         <td nowrap><b>
  588.                            <?=MSG_MAIN_CATEGORY;?>
  589.                            :</b></td>
  590.                         <td class="contentfont" width="100%"><?=$main_category_display;?></td>
  591.                      </tr>
  592.                      <? if ($item_details['addl_category_id']) { ?>
  593.                      <tr>
  594.                         <td nowrap><b>
  595.                            <?=MSG_ADDL_CATEGORY;?>
  596.                            :</b></td>
  597.                         <td class="contentfont"><?=$addl_category_display;?></td>
  598.                      </tr>
  599.                      <? } ?>
  600.                   </table></td>
  601.             </tr>
  602.          </table></td>
  603.       <td class="contentfont">
  604.         <div class="errormessage">
  605.             <? if ($ad_display == 'live') { ?>
  606.             <table width="100%" border="0" cellpadding="3" cellspacing="1">
  607.                <tr valign="top">
  608.                   <? if ($session->value('user_id')) { ?>
  609.                   <td nowrap width="100%" class="contentfont">
  610.                     <div style="padding-bottom: 3px;">
  611.                         <b><?=MSG_WELCOME;?>, <?=$session->value('username');?></b>
  612.                     </div>
  613.                      <? if ($item_details['owner_id'] == $session->value('user_id')) { ?>
  614.                      <a href="<?=process_link('sell_item', array('option' => 'sell_similar', 'auction_id' => $item_details['auction_id']));?>"><?=MSG_SELL_SIMILAR;?></a>
  615.                      <? if (!$item->under_time($item_details))  { ?>
  616.                      <? if ($item_details['nb_bids']==0 && $item_details['active']==1)  { ?>
  617.                      &nbsp;|&nbsp; <a href="edit_item.php?auction_id=<?=$item_details['auction_id'];?>&edit_option=new"><?=MSG_EDIT_AUCTION;?></a>
  618.                      &nbsp;|&nbsp; <a href="members_area.php?do=delete_auction&auction_id=<?=$item_details['auction_id'];?>&page=selling&section=open" onclick="return confirm('<?=MSG_DELETE_CONFIRM;?>');"><?=MSG_DELETE;?></a>
  619.                      <? } else if ($item_details['nb_bids']>0 && $item_details['active']==1) { ?>
  620.                     &nbsp;|&nbsp; <a href="edit_description.php?auction_id=<?=$item_details['auction_id'];?>"><?=MSG_EDIT_DESCRIPTION;?></a>
  621.                      <? } ?>
  622.                      <? } ?>
  623.                      <? if ($item->can_close_manually($item_details, $session->value('user_id'))) { ?>
  624.                      &nbsp;|&nbsp; <a href="members_area.php?do=close_auction&auction_id=<?=$item_details['auction_id'];?>&page=selling&section=open" onclick="return confirm('<?=MSG_CLOSE_AUCTION_CONFIRM;?>');"><?=MSG_CLOSE_AUCTION;?></a>
  625.                      <? } ?>
  626.                      <? if ($item_details['closed'] == 1) { ?>
  627.                      &nbsp;|&nbsp; <a href="members_area.php?do=relist&auction_id=<?=$item_details['auction_id'];?>&page=selling&section=closed" onclick="return confirm('<?=MSG_RELIST_AUCTION_CONFIRM;?>');"><?=MSG_RELIST_AUCTION;?></a>
  628.                      <? } ?>
  629.                      <? } else if ($session->value('user_id')) { ?>
  630.                      &nbsp;|&nbsp; <a href="<?=process_link('members_area', array('page' => 'account', 'section' => 'abuse_report', 'auction_id' => $item_details['auction_id']));?>"><?=MSG_REPORT_AUCTION;?></a>
  631.                      <? } ?>
  632.                   </td>
  633.                   <? } else { ?>
  634.                   <td class="contentfont" ><?=MSG_STATUS_BIDDER_SELLER_A;?>
  635.                      <a href="<?=process_link('login');?>">
  636.                      <?=MSG_STATUS_BIDDER_SELLER_B;?>
  637.                      </a>
  638.                      <?=MSG_STATUS_BIDDER_SELLER_C;?></td>
  639.                   <? } ?>
  640.                </tr>
  641.             </table>
  642.             <a href="javascript:popUp('<?=process_link('auction_print', array('auction_id' => $item_details['auction_id']));?>');"><img src="themes/<?=$setts['default_theme'];?>/img/system/print.gif" align="absmiddle" border="0" hspace="3"><?=MSG_PRINT_VIEW;?></a>
  643.             <a href="<?=process_link('auction_details', array('auction_id' => $item_details['auction_id'], 'option' => 'item_watch'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/system/watch.gif" align="absmiddle" border="0" hspace="3"><?=MSG_WATCH_ITEM;?></a>
  644.             <a href="<?=process_link('auction_details', array('auction_id' => $item_details['auction_id'], 'option' => 'auction_friend'));?>"><img src="themes/<?=$setts['default_theme'];?>/img/system/tofriend.gif" align="absmiddle" border="0" hspace="3"><?=MSG_SEND_TO_FRIEND;?></a>
  645.             <? } ?>
  646.             </div>
  647.         </td>
  648.    </tr>
  649. </table>
  650. <br>
  651. <?=$auction_friend_form;?>
  652. <?=$msg_changes_saved;?>
  653. <?=$block_reason_msg;?>
  654. <div id="TabbedPanels1" class="TabbedPanels">
  655. <div class="TabbedPanelsContentGroup" >
  656.       <div class="TabbedPanelsContent">
  657.          <table width="100%" border="0" cellspacing="10" cellpadding="0">
  658.             <tr>
  659.                <td>
  660.                        <? if (!empty($direct_payment_box)) { ?>
  661.                         <table width="100%" border="0" cellspacing="1" cellpadding="3">
  662.                      <tr>
  663.                         <td class="title"><?=MSG_DIRECT_PAYMENT;?></td>
  664.                      </tr>
  665.                            <? foreach ($direct_payment_box as $dp_box) { ?>
  666.                            <tr>
  667.                               <td><?=$dp_box;?></td>
  668.                            </tr>
  669.                            <? } ?>
  670.                   </table>  
  671.                   <br>
  672.                   <? } ?>            
  673.                 <table width="100%" border="0" cellspacing="1" cellpadding="3">
  674.                      <tr valign="top">
  675.                         <? if (!empty($item_details['ad_image'][0])) { ?>
  676.                         <td width="20%" align="center"><table width="100%" border="0" cellspacing="1" cellpadding="3">
  677.                                <tr>
  678.                                    <td align="center">
  679.                                             <? $ad_image = (!empty($item_details['ad_image'][0])) ? $item_details['ad_image'][0] : 'themes/' . $setts['default_theme'] . '/img/system/noimg.gif'; ?>       
  680.                                             <div class="wraptocenter" id="ad_image"><span></span>
  681.                                                 <img <? echo ($setts['thumb_display_type'] == 'h') ? 'name="main_ad_image"' : ''; ?> src="thumbnail.php?pic=<?=$ad_image;?>&w=250&sq=Y" border="0" alt="<?=$item_details['name'];?>">
  682.                                             </div>                     
  683.                                             <? if (item::count_contents($item_details['ad_image']) && $setts['thumb_display_type'] == 'h') { ?>
  684.                                             <div style="padding-top: 10px; width: 250px;"><?=$ad_image_thumbnails;?></div>
  685.                                             <? } ?>
  686.                                    </td>
  687.                                 </tr>
  688.                                     <!--
  689.                              <tr>
  690.                                 <td align="center"><img src="<?=SITE_PATH;?>thumbnail.php?pic=<?=$item_details['ad_image'][0];?>&w=250&sq=N&b=N" border="0" alt="<?=$item_details['name'];?>"></td>
  691.                              </tr>
  692.                              -->
  693.                            </table></td>
  694.                         <? } ?>
  695.                         <td width="55%"><!-- Start Table for item details -->                          
  696.                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
  697.                             <tr>
  698.                                 <td width="100%">
  699.                                        <table width="100%" border="0" cellspacing="1" cellpadding="2">
  700.                                           <? if ($ad_display == 'live' && !$buyout_only) { ?>
  701.                                           <tr>
  702.                                              <td nowrap><b>
  703.                                                 <?=MSG_CURRENT_BID;?>
  704.                                                 </b></td>
  705.                                                    <td class="greenfont"><strong>
  706.                                                     <?=$fees->display_amount((($item_details['auction_type'] == 'first_bidder') ? $item_details['fb_current_bid'] : $item_details['max_bid']), $item_details['currency']); ?>
  707.                                                     </strong></td>
  708.                                           </tr>
  709.                                           <? } ?>
  710.                                           <? if (!$buyout_only) { ?>
  711.                                           <tr>
  712.                                              <td nowrap><b>
  713.                                                 <?=MSG_START_BID;?>
  714.                                                 </b></td>
  715.                                              <td class="redfont" width="100%"><b>
  716.                                                 <?=$fees->display_amount($item_details['start_price'], $item_details['currency']); ?>
  717.                                                 </b>
  718.                                                 <? if ($ad_display == 'live') { ?>
  719.                                                 <span class="contentfont">[ <a href="javascript:void(0);" onClick="converter_open('currency_converter.php?currency=<?=$item_details['currency'];?>&amount=<?=$item_details['start_price'];?>');">
  720.                                                 <?=MSG_CONVERT;?>
  721.                                                 </a> ]</span>
  722.                                                 <? } ?></td>
  723.                                           </tr>
  724.                                           <? if ($your_bid>0) { ?>
  725.                                           <tr>
  726.                                              <td nowrap><b>
  727.                                                 <?=MSG_YOUR_BID;?>
  728.                                                 </b></td>
  729.                                              <td class="greenfont" width="100%"><b>
  730.                                                 <?=$fees->display_amount($your_bid, $item_details['currency']); ?>
  731.                                                 </b></td>
  732.                                           </tr>
  733.                                           <? } ?>
  734.                                           <? } ?>
  735.                                                 <? if ($item_details['auction_type'] == 'first_bidder' || ($ad_display == 'preview' && $item_details['is_reserve'] && !$buyout_only)) { ?>
  736.                                           <tr>
  737.                                              <td nowrap><b>
  738.                                                 <?=MSG_RES_PRICE;?>
  739.                                                 </b></td>
  740.                                              <td width="100%"><b>
  741.                                                 <?=$fees->display_amount($item_details['reserve_price'], $item_details['currency']); ?>
  742.                                                 </b></td>
  743.                                           </tr>
  744.                                           <? } ?>
  745.                                           <? if ($setts['daily_deals'] && $item_details['dailydeal_msrp'] > '0.00') {
  746.     $math = $item_details['dailydeal_msrp'] - $item_details['buyout_price'];
  747.     ?>
  748.         <tr>
  749.         <td nowrap><b>MSRP</b></td>
  750.         <td width="100%"><strike><?=$fees->display_amount($item_details['dailydeal_msrp'], $item_details['currency']); ?></strike></td>
  751.         </tr>
  752.         <tr>
  753.         <td nowrap><b>You Save</b></td>
  754.         <td width="100%"><?=$fees->display_amount($math, $item_details['currency']); ?></td>
  755.         </tr>
  756.         <? } ?>
  757.                                           <? if ($item_details['quantity']) { ?>
  758.                                           <tr>
  759.                                              <td nowrap><b>
  760.                                                 <?=GMSG_QUANTITY;?>
  761.                                                 </b></td>
  762.                                              <td width="100%"><?=$item_details['quantity'];?></td>
  763.                                           </tr>
  764.                                           <? } ?>
  765.                                                 <? if ($ad_display == 'live' && !$buyout_only && $item_details['auction_type'] != 'first_bidder') { ?>
  766.                                           <tr>
  767.                                              <td nowrap><b>
  768.                                                 <?=MSG_NR_BIDS;?>
  769.                                                 </b></td>
  770.                                              <td  width="100%" class="contentfont"><?=$item_details['nb_bids'];?>
  771.                                                 <? if ($item_details['nb_bids']) { ?>
  772.                                                 [ <a href="<?=process_link('bid_history', array('auction_id' => $item_details['auction_id']));?>">
  773.                                                 <?=MSG_VIEW_HISTORY;?>
  774.                                                 </a> ]
  775.                                                 <? } ?></td>
  776.                                           </tr>
  777.                                           <? } ?>
  778.                                        </table>
  779.                                             </td>
  780.                                             <? if ($show_buyout) { ?>
  781.                                             <td nowrap><?                                          
  782.                                        if ($ad_display == 'preview' || $session->value('user_id') == $item_details['owner_id'] || $blocked_user)
  783.                                        {
  784.                                         echo '<img src="themes/' . $setts['default_theme'] . '/img/buyout.gif" border="0">';
  785.                                        }
  786.                                        else
  787.                                        {
  788.                                         echo '<a href="buy_out.php?auction_id=' . $item_details['auction_id'] . '"><img src="themes/' . $setts['default_theme'] . '/img/buyout.gif" border="0" style="margin-bottom: 5px;"></a>';
  789.                                        }
  790.                                        echo '<br><b>for</b> <b class="buyout">' . $fees->display_amount($item_details['buyout_price'], $item_details['currency']) . '</b>'.
  791.                                         '<br><span class="contentfont">[ <a href="javascript:void(0);" onClick="converter_open(\'currency_converter.php?currency=' . $item_details['currency'] . '&amount=' . $item_details['buyout_price'] . '\');">' . MSG_CONVERT . '</a> ]</span>';
  792.                                                 ?></td>
  793.                                             <? } ?>
  794.                                         </tr>
  795.                                     </table>
  796.                            <? if ($item_can_bid['result']) { ?>
  797.                            <br>
  798.                            <table width="100%" border="0" cellpadding="1" cellspacing="8" class="border c1">
  799.                               <form action="bid.php" method="post">
  800.                                  <input type="hidden" name="auction_id" value="<?=$item_details['auction_id'];?>">
  801.                                  <input type="hidden" name="action" value="bid_confirm">
  802.                                  <tr>
  803.                                     <td><? if ($item_can_bid['show_box']) { ?>
  804.                                         <? if ($item_details['auction_type'] != 'first_bidder') { ?>
  805.                                        <? if ($item_details['auction_type']=='dutch') { ?>
  806.                                        <div style="padding-bottom: 10px;">
  807.                                           <?=GMSG_QUANTITY;?>
  808.                                           <input name="quantity" type="text" id="quantity" value="1" size="8">
  809.                                        </div>
  810.                                        <? } ?>
  811.                                        <?=MSG_YOUR_MAXIMUM_BID;?>
  812.                                        <b>
  813.                                        <?=currency_symbol($item_details['currency']);?>
  814.                                        </b>
  815.                                        <input name="max_bid" type="text" id="max_bid" size="7" />
  816.                                        <div class="redfont" style="font-size: 10px;">
  817.                                           <?=MSG_MINIMUM_BID;?>
  818.                                           : <b><? echo $fees->display_amount($item->min_bid_amount($item_details), $item_details['currency']);?></b></div>
  819.                                                     <? } ?>
  820.                                     <td><input class="placebid" name="form_place_bid" type="submit" id="form_place_bid" value="<?=MSG_PLACE_BID;?>" <? echo (!$item_can_bid['result'] || $blocked_user) ? 'disabled' : ''; ?>>
  821.                                        <? } ?>
  822.                                     </td>
  823.                                  </tr>
  824.                               </form>
  825.                            </table>
  826.                            <br>
  827.                            <? } ?>
  828.                            <? if (!empty($item_can_bid['display'])) { ?>
  829.                            <div class="errormessage">
  830.                               <?=$item_can_bid['display'];?>
  831.                            </div>
  832.                            <br>
  833.                            <? } ?>
  834.                            <table width="100%" border="0" cellspacing="1" cellpadding="2">
  835.                               <tr>
  836.                                  <td nowrap><b>
  837.                                     <?=MSG_LOCATION;?>
  838.                                     </b>:</td>
  839.                                  <td width="100%"><?=$auction_location;?></td>
  840.                               </tr>
  841.                               <tr>
  842.                                  <td nowrap><b>
  843.                                     <?=MSG_COUNTRY;?>
  844.                                     </b>:</td>
  845.                                  <td><?=$auction_country;?></td>
  846.                               </tr>
  847.                                     <? if ($ad_display == 'live' && $item_details['start_time'] <= CURRENT_TIME && $item_details['auction_type'] != 'first_bidder') { // dont show if the auction is not started ?>
  848.                               <tr>
  849.                                  <td nowrap><b>
  850.                                     <?=MSG_TIME_LEFT;?>
  851.                                     </b>:</td>
  852.                                     <td><div id="time_left"><?=time_left($item_details['end_time'], CURRENT_TIME, false, true); ?></div></td>
  853.                               </tr>
  854.                               <? } ?>
  855.                               <tr>
  856.                                  <td nowrap><b>
  857.                                     <?=GMSG_START_TIME;?>
  858.                                     </b>:</td>
  859.                                  <td><? echo ($ad_display == 'live' || $item_details['start_time_type'] == 'custom') ? show_date($item_details['start_time']) : GMSG_NOW; ?></td>
  860.                               </tr>
  861.                                     <? if ($item_details['auction_type'] == 'first_bidder') { ?>
  862.                                     <tr>
  863.                                        <td nowrap><b><?=MSG_FB_DECREMENT;?></b>:</td>
  864.                                        <td><?
  865.                                         $fb_decrement = $item->convert_fb_decrement($item_details, 'NTS');
  866.                                        
  867.                                         echo $fees->display_amount($item_details['fb_decrement_amount'], $item_details['currency']) . ' ' . $fb_decrement['display']; ?></td>
  868.                                     </tr>
  869.                                     <? if ($ad_display == 'live' && $item_details['closed'] == 0) { ?>
  870.                                     <tr>
  871.                                        <td nowrap><b><?=MSG_NEXT_DECREMENT;?></b>:</td>
  872.                                        <td><?=show_date($item_details['fb_next_decrement']); ?></td>
  873.                                     </tr>
  874.                                     <? } ?>
  875.                                     <tr class="c5">
  876.                                        <td colspan="2"></td>
  877.                                     </tr>
  878.                                     <? } else { ?>
  879.                                         <? if ($ad_display == 'live' || $item_details['end_time_type'] == 'custom') { ?>
  880.                               <tr>
  881.                                  <td nowrap><b>
  882.                                     <?=GMSG_END_TIME;?>
  883.                                     </b>:</td>
  884.                                  <td><?=show_date($item_details['end_time']); ?></td>
  885.                               </tr>
  886.                               <? } else { ?>
  887.                               <tr>
  888.                                  <td><b>
  889.                                     <?=GMSG_DURATION;?>
  890.                                     </b>:</td>
  891.                                  <td><? echo $item_details['duration'] . ' ' . GMSG_DAYS; ?></td>
  892.                               </tr>
  893.                               <? } ?>
  894.                                         <? } ?>                              
  895.                               <tr>
  896.                                  <td><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  897.                                  <td><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  898.                               </tr>
  899.                               <? if ($item_details['is_offer'] && $setts['makeoffer_process'] == 1) { ?>
  900.                               <tr class="c1">
  901.                                  <td><b>
  902.                                     <?=GMSG_MAKE_OFFER;?>
  903.                                     </b></td>
  904.                                  <td class="c1"><?
  905.                                         if ($ad_display == 'preview' || $session->value('user_id') == $item_details['owner_id'] || $blocked_user)
  906.                                         {
  907.                                             echo '<img src="themes/' . $setts['default_theme'] . '/img/system/makeoffer25.gif" border="0">';
  908.                                         }
  909.                                         else
  910.                                         {
  911.                                             echo '<a href="make_offer.php?auction_id=' . $item_details['auction_id'] . '"><img src="themes/' . $setts['default_theme'] . '/img/system/makeoffer25.gif" border="0"></a>';
  912.                                         } ?></td>
  913.                               </tr>
  914.                                     <? if ($ad_display != 'live' || ($setts['makeoffer_private'] && $user_details['show_makeoffer_ranges'])) { ?>
  915.                               <tr>
  916.                                  <td></td>
  917.                                  <td><?=MSG_OFFER_RANGE;?>: <?=$item->offer_range($item_details);?></td>
  918.                               </tr>
  919.                               <? } ?>
  920.                               <tr class="c5">
  921.                                  <td><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  922.                                  <td><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  923.                               </tr>
  924.                               <? } ?>
  925.                               <? if ($ad_display == 'live' && $item_details['reserve_price']>0) { ?>
  926.                               <tr>
  927.                                  <td colspan="2"><b><? echo ($item_details['reserve_price']>$item_details['max_bid']) ? '<span class="redfont">' . MSG_RESERVE_NOT_MET . '</span>' : '<span class="greenfont">' . MSG_RESERVE_MET . '</span>'; ?></b></td>
  928.                               </tr>
  929.                               <tr class="c5">
  930.                                  <td colspan="2"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  931.                               </tr>
  932.                               <? } ?>
  933.                               <? if ($item_details['enable_swap'] && !$item_details['closed']) { ?>
  934.                               <tr>
  935.                                  <td colspan="2" class="contentfont"><?=MSG_SWAP_OFFERS_ACCEPTED;?>
  936.                                     <? echo ($ad_display == 'live' && !$blocked_user) ? $swap_offer_link : '';?></td>
  937.                               </tr>
  938.                               <? } ?>
  939.                                     <? if ($ad_display == 'live' && !$buyout_only && !$item_details['closed'] && $item_details['auction_type'] != 'first_bidder') { ?>
  940.                               <tr>
  941.                                  <td><b>
  942.                                     <?=MSG_HIGH_BID; ?>
  943.                                     </b></td>
  944.                                  <td><?=$high_bidders_content;?></td>
  945.                               </tr>
  946.                               <? } ?>
  947.                               <? if ($ad_display == 'live' && !empty($winners_content)) { ?>
  948.                               <tr>
  949.                                  <td><b>
  950.                                     <?=MSG_WINNER_S; ?>
  951.                                     </b></td>
  952.                                  <td><?=$winners_content;?></td>
  953.                               </tr>
  954.                               <? } ?>
  955.                               <? if ($item_details['apply_tax']) { ?>
  956.                               <tr>
  957.                                  <td colspan="2"><?=$auction_tax['display'];?></td>
  958.                               </tr>
  959.                               <? if ($auction_tax['display_buyer']) { ?>
  960.                               <tr>
  961.                                  <td colspan="2"><?=$auction_tax['display_buyer'];?></td>
  962.                               </tr>
  963.                               <? } ?>
  964.                               <? } ?>
  965.                               <?=$winners_message_board;?>
  966.                               <? if (!empty($item_watch_text)) { ?>
  967.                               <tr>
  968.                                  <td colspan="2" class="c2"><?=$item_watch_text;?></td>
  969.                               </tr>
  970.                               <? } ?>
  971.                            </table></td>
  972.                         <td width="25%"><table width="100%" border="0" cellspacing="2" cellpadding="3" class="border">
  973.                               <tr>
  974.                                  <td class="c4"><b>
  975.                                     <?=MSG_SELLER_INFORMATION;?>
  976.                                     </b></td>
  977.                               </tr>
  978.                               <tr>
  979.                                  <td><b><?=$user_details['username'];?></b> <?=user_pics($user_details['user_id']);?></td>
  980.                               </tr>
  981.                               <tr>
  982.                                  <td><?=MSG_REGISTERED_SINCE;?> <b><?=show_date($user_details['reg_date'], false);?></b><br>
  983.                                     <? echo GMSG_IN . ' <b>' . $seller_country . '</b>'; ?></td>
  984.                               </tr>
  985.                               <? if ($ad_display == 'live') { ?>
  986.                               <? if ($user_details['shop_active']) { ?>
  987.                               <tr>
  988.                                  <td class="contentfont"><a href="<?=process_link('shop', array('user_id' => $item_details['owner_id']));?>">
  989.                                     <?=MSG_VIEW_STORE;?>
  990.                                     </a></td>
  991.                               </tr>
  992.                               <? } ?>
  993.                               <? } ?>
  994.                            </table>
  995.                            <br>
  996.                            <div class="border">
  997.                               <?=$reputation_table_small;?>
  998.                            </div></td>
  999.                      </tr>
  1000.                   </table>
  1001.                   <br>
  1002.                   <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1003.                      <tr>
  1004.                         <td colspan="2" class="title"><?=GMSG_DESCRIPTION;?></td>
  1005.                      </tr>
  1006.                      <tr>
  1007.                         <td colspan="2"><?=database::add_special_chars($item_details['description']);?></td>
  1008.                      </tr>
  1009.                   </table>
  1010.                   <?=$custom_sections_table;?>
  1011.                        <? if (item::count_contents($item_details['ad_image']) && $setts['thumb_display_type'] == 'v') { ?>
  1012.                   <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1013.                      <tr>
  1014.                         <td class="title" colspan="2"><?=MSG_AUCTION_IMAGES;?></td>
  1015.                      </tr>
  1016.                      <tr>
  1017.                         <td class="border" colspan="2"><table width="100%" cellpadding="3" cellspacing="0" border="0">
  1018.                               <tr align="center">
  1019.                                  <td valign="top" class="picselect"><table cellpadding="3" cellspacing="1" border="0">
  1020.                                        <tr align="center">
  1021.                                           <td><b>
  1022.                                              <?=MSG_SELECT_PICTURE;?>
  1023.                                              </b></td>
  1024.                                        </tr>
  1025.                                        <tr align="center">
  1026.                                           <td><?=$ad_image_thumbnails;?></td>
  1027.                                        </tr>
  1028.                                     </table></td>
  1029.                                  <td width="100%" class="picselectmain" align="center"><img name="main_ad_image" src="<?=SITE_PATH;?>thumbnail.php?pic=<?=$item_details['ad_image'][0];?>&w=500&sq=Y&b=Y" border="0" alt="<?=$item_details['name'];?>"></td>
  1030.                               </tr>
  1031.                            </table></td>
  1032.                      </tr>
  1033.                   </table>
  1034.                   <? } ?>
  1035.                   <? if (item::count_contents($item_details['ad_video'])) { ?>
  1036.                   <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1037.                      <tr>
  1038.                         <td class="title" colspan="2"><?=MSG_AUCTION_MEDIA;?></td>
  1039.                      </tr>
  1040.                      <tr>
  1041.                         <td class="border" colspan="2"><table width="100%" cellpadding="3" cellspacing="0" border="0">
  1042.                               <tr align="center">
  1043.                                  <td valign="top" class="picselect"><table cellpadding="3" cellspacing="1" border="0">
  1044.                                        <tr align="center">
  1045.                                           <td><b>
  1046.                                              <?=MSG_SELECT_VIDEO;?>
  1047.                                              </b></td>
  1048.                                        </tr>
  1049.                                        <tr align="center">
  1050.                                           <td><?=$ad_video_thumbnails; ?></td>
  1051.                                        </tr>
  1052.                                     </table></td>
  1053.                                  <td width="100%" class="picselectmain" align="center"><?=$ad_video_main_box; ?></td>
  1054.                               </tr>
  1055.                            </table></td>
  1056.                      </tr>
  1057.                   </table>
  1058.                   <? } ?>
  1059.                   <? if (item::count_contents($item_details['ad_dd'])) { ?>
  1060.                   <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1061.                      <tr>
  1062.                         <td class="title" colspan="2"><?=MSG_DIGITAL_MEDIA;?></td>
  1063.                      </tr>
  1064.                      <tr>
  1065.                         <td class="border" colspan="2"><?=$ad_dd_thumbnails; ?></td>
  1066.                      </tr>
  1067.                   </table>
  1068.                   <? } ?>
  1069.                         <!--        
  1070.                       </div>
  1071.                       -->
  1072.                       <!-- Shipping Tab Content -->
  1073.                         <!--        
  1074.                       <div class="TabbedPanelsContent"> <br>
  1075.                       -->
  1076.                         <br>
  1077.                         <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1078.                         <tr>
  1079.                             <td colspan="2" class="title"><?=MSG_SHIPPING;?></td>
  1080.                             </tr>
  1081.                         </table>
  1082.                         <br>
  1083.                         <? if ($ad_display == 'live') { ?>
  1084.                         <table width=100% border="0" cellspacing="0" cellpadding="0">
  1085.                            <tr>
  1086.                             <td width="50%" style="padding-right: 10px;" valign="top">
  1087.                         <? } ?>
  1088.                      <table width="100%" border="0" cellpadding="3" cellspacing="2" class="border">
  1089.                         <tr valign="top">
  1090.                            <td width="150" align="right"><b>
  1091.                               <?=MSG_SHIPPING_CONDITIONS;?>
  1092.                               </b></td>
  1093.                            <td><? echo ($item_details['shipping_method'] == 1) ? MSG_BUYER_PAYS_SHIPPING : MSG_SELLER_PAYS_SHIPPING; ?>
  1094.                               <? if ($item_details['shipping_int'] == 1) { ?>
  1095.                               <div class="greenfont">
  1096.                                  <?=MSG_SELLER_SHIPS_INT;?>
  1097.                               </div>
  1098.                               <? } ?>
  1099.                            </td>
  1100.                            <? if ($item_details['shipping_details']) { ?>
  1101.                            <td rowspan="10" width="50%" valign="top"><b>
  1102.                               <?=MSG_SHIPPING_DETAILS;?>
  1103.                               </b><br>
  1104.                               <br>
  1105.                               <?=$item_details['shipping_details'];?></td>
  1106.                            <? } ?>
  1107.                         </tr>
  1108.                         <? if ($setts['enable_shipping_costs']) { ?>
  1109.                         <? if ($user_details['pc_postage_type'] == 'item') { ?>
  1110.                         <tr>
  1111.                            <td width="150" align="right"><?=MSG_POSTAGE;?></td>
  1112.                            <td><?=$fees->display_amount($item_details['postage_amount'], $item_details['currency']); ?></td>
  1113.                         </tr>
  1114.                         <? } ?>
  1115.                          <? if ($user_details['pc_postage_type'] == 'weight' && $item_details['item_weight']) { ?>
  1116.                         <tr>
  1117.                            <td width="150" align="right"><?=MSG_WEIGHT;?></td>
  1118.                            <td><?=$item_details['item_weight'];?> <?=$user_details['pc_weight_unit'];?></td>
  1119.                         </tr>
  1120.                          <? } ?>   
  1121.                         <tr>
  1122.                            <td width="150" align="right"><b>
  1123.                               <?=MSG_INSURANCE;?>
  1124.                               </b></td>
  1125.                            <td><?=$fees->display_amount($item_details['insurance_amount'], $item_details['currency']); ?></td>
  1126.                         </tr>
  1127.                         <tr>
  1128.                            <td width="150" align="right"><b>
  1129.                               <?=MSG_SHIP_METHOD;?>
  1130.                               </b></td>
  1131.                            <td><?=$item_details['type_service'];?></td>
  1132.                         </tr>
  1133.                         <? } ?>
  1134.                      </table>
  1135.                         <? if ($ad_display == 'live') { ?>
  1136.                                 </td>
  1137.                                 <td style="padding-left: 10px;" valign="top"><?=$shipping_calculator_box;?></td>
  1138.                             </tr>
  1139.                         </table>
  1140.                         <? } ?>
  1141.                     </td>
  1142.             </tr>
  1143.          </table>
  1144.          <br>
  1145.       </div>
  1146.       <!-- EOF Shipping Tab Content -->
  1147.       <div class="TabbedPanelsContent"> <br>
  1148.          <table width="100%" border="0" cellpadding="6" cellspacing="0">
  1149.             <tr valign="top">
  1150.                <? if ($item_details['direct_payment']) { ?>
  1151.                <td><table width="100%" border="0" cellpadding="3" cellspacing="1">
  1152.                      <tr>
  1153.                         <td class="title" ><?=MSG_DIRECT_PAYMENT;?></td>
  1154.                      </tr>
  1155.                      <tr>
  1156.                         <td><?=$direct_payment_methods_display;?></td>
  1157.                      </tr>
  1158.                   </table></td>
  1159.                <? } ?>
  1160.                <td><? if ($item_details['payment_methods']) { ?>
  1161.                   <table width="100%" border="0" cellpadding="3" cellspacing="1">
  1162.                      <tr>
  1163.                         <td class="title"><?=MSG_OFFLINE_PAYMENT;?></td>
  1164.                      </tr>
  1165.                      <tr>
  1166.                         <td><?=$offline_payment_methods_display;?></td>
  1167.                      </tr>
  1168.                   </table>
  1169.                   <? } ?>
  1170.                </td>
  1171.             </tr>
  1172.          </table>
  1173.          <br>
  1174.       </div>
  1175.       <? if ($ad_display == 'live') { ?>
  1176.       <? if ($setts['enable_asq']) { ?>
  1177.       <div class="TabbedPanelsContent"> <br>
  1178.          <table width="100%" border="0" cellpadding="6" cellspacing="0">
  1179.             <tr valign="top">
  1180.                <td><table width="100%" border="0" cellpadding="3" cellspacing="1">
  1181.                      <tr>
  1182.                         <td class="title" colspan="2"><?=MSG_ASK_SELLER_QUESTION;?></td>
  1183.                      </tr>
  1184.                      <?=$public_questions_content;?>
  1185.                      <? if ($session->value('adminarea') == 'Active') { ?>
  1186.                      <tr>
  1187.                         <td align="center" colspan="2"><?=MSG_QUESTIONS_LOGGED_AS_ADMIN;?></td>
  1188.                      </tr>
  1189.                      <? } else if (!$session->value('user_id')) { ?>
  1190.                      <tr>
  1191.                         <td align="center" colspan="2"><?=MSG_LOGIN_TO_ASK_QUESTIONS;?></td>
  1192.                      </tr>
  1193.                      <? } else if ($session->value('membersarea') != 'Active') { ?>
  1194.                      <tr>
  1195.                         <td align="center" colspan="2"><?=MSG_ACC_SUSPENDED_ASK_QUESTION;?></td>
  1196.                      </tr>
  1197.                      <? } else if ($session->value('user_id') == $item_details['owner_id']) { ?>
  1198.                      <tr>
  1199.                         <td align="center" colspan="2"><?=MSG_CANT_POST_QUESTION_OWNER;?></td>
  1200.                      </tr>
  1201.                      <? } else { ?>
  1202.                      <tr>
  1203.                         <td><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  1204.                         <td><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  1205.                      </tr>
  1206.                      <form action="auction_details.php" method="POST">
  1207.                         <input type="hidden" name="auction_id" value="<?=$item_details['auction_id'];?>">
  1208.                         <input type="hidden" name="option" value="post_question">
  1209.                         <tr>
  1210.                            <td nowrap><b>
  1211.                               <?=MSG_POST_QUESTION;?>
  1212.                               </b></td>
  1213.                            <td width="100%"><table>
  1214.                                  <tr>
  1215.                                     <td><textarea name="message_content" cols="40" rows="3" class="contentfont"></textarea></td>
  1216.                                     <td><div style="padding: 2px;">
  1217.                                           <select name="message_handle">
  1218.                                              <? if ($user_details['default_public_questions']) { ?>
  1219.                                              <option value="1" selected>
  1220.                                              <?=MSG_POST_QUESTION_PUBLICLY;?>
  1221.                                              </option>
  1222.                                              <? } ?>
  1223.                                              <option value="2">
  1224.                                              <?=MSG_POST_QUESTION_PRIVATELY;?>
  1225.                                              </option>
  1226.                                           </select>
  1227.                                        </div>
  1228.                                        <div style="padding: 2px;">
  1229.                                           <input name="form_post_question" type="submit" id="form_post_question" value="<?=GMSG_SUBMIT;?>" />
  1230.                                        </div></td>
  1231.                                  </tr>
  1232.                               </table></td>
  1233.                         </tr>
  1234.                      </form>
  1235.                      <? } ?>
  1236.                   </table>
  1237.                   <br>
  1238.                </td>
  1239.             </tr>
  1240.          </table>
  1241.       </div>
  1242.       <? } ?>
  1243.       <? } ?>
  1244.       <? if ($ad_display == 'live') { ?>
  1245.       <? if ($setts['enable_other_items_adp'] && $item->count_contents($other_items)) { ?>
  1246.       <div class="TabbedPanelsContent"> <br>
  1247.          <div align="right" class="contentfont" style="padding-right: 10px;"><b><a href="<?=process_link('other_items', array('owner_id' => $item_details['owner_id']));?>">
  1248.             <?=MSG_VIEW_ALL;?>
  1249.             </a></b></div>
  1250.          <table width="100%" border="0" cellpadding="3" cellspacing="1">
  1251.             <tr>
  1252.                <?
  1253.                   for ($counter=0; $counter<$layout['hpfeat_nb']; $counter++) {
  1254.                         $width = 100/$layout['hpfeat_nb'] . '%'; ?>
  1255.                            <td width="<?=$width;?>" align="center" valign="top"><?
  1256.                     if (!empty($other_items[$counter]['name'])) {
  1257.                         $main_image = $db->get_sql_field("SELECT media_url FROM " . DB_PREFIX . "auction_media WHERE
  1258.                             auction_id='" . $other_items[$counter]['auction_id'] . "' AND media_type=1 AND upload_in_progress=0 ORDER BY media_id ASC LIMIT 0,1", 'media_url');
  1259.            
  1260.                         $auction_link = process_link('auction_details', array('name' => $other_items[$counter]['name'], 'auction_id' => $other_items[$counter]['auction_id']));?>
  1261.                   <table width="100%" border="0" cellspacing="1" cellpadding="3" class="borderfeat">
  1262.                      <tr height="<?=$layout['hpfeat_width']+10;?>">
  1263.                         <td align="center"><a href="<?=$auction_link;?>"><img src="<? echo ((!empty($main_image)) ? 'thumbnail.php?pic=' . $main_image . '&w=' . $layout['hpfeat_width'] . '&sq=Y' : 'themes/' . $setts['default_theme'] . '/img/system/noimg.gif');?>" border="0" alt="<?=$other_items[$counter]['name'];?>"></a></td>
  1264.                      </tr>
  1265.                      <tr>
  1266.                         <td class="c1feat"><a href="<?=$auction_link;?>">
  1267.                            <?=title_resize($other_items[$counter]['name']);?>
  1268.                            </a></td>
  1269.                      </tr>
  1270.                      <tr>
  1271.                         <td ><b>
  1272.                            <?=MSG_START_BID;?>
  1273.                            </b> : <? echo $fees->display_amount($other_items[$counter]['start_price'], $other_items[$counter]['currency']);?> <br>
  1274.                            <b>
  1275.                            <?=MSG_CURRENT_BID;?>
  1276.                            </b> : <? echo $fees->display_amount($other_items[$counter]['max_bid'], $other_items[$counter]['currency']);?><br>
  1277.                            <b>
  1278.                            <?=MSG_ENDS;?>
  1279.                            :</b> <? echo show_date($other_items[$counter]['end_time']); ?> </td>
  1280.                      </tr>
  1281.                   </table>
  1282.                   <? } ?></td>
  1283.                <? } ?>
  1284.             </tr>
  1285.          </table>
  1286.          <br>
  1287.       </div>
  1288.       <? } ?>
  1289.    </div>
  1290. </div>
  1291. <? if ($ad_display == 'live') { ?>
  1292. <br />
  1293. <table width=100% border=0 cellspacing=0 cellpadding=0>
  1294.    <tr>
  1295.       <td align='center' class='topitempage alertfont'><?=MSG_THE_POSTER;?>
  1296.          , <b>
  1297.          <?=$user_details['username'];?>
  1298.          </b>,
  1299.          <?=MSG_ASSUMES_RESP_EXPL;?>
  1300.       </td>
  1301.    </tr>
  1302. </table>
  1303. <br />
  1304. <? } ?>
  1305. <? } ?>
  1306.  
  1307. </td>
  1308. </tr>
  1309. </table>
  1310.  
  1311.             </td>
  1312.                <td width="10" style="border-right: 1px solid #bbbbbb;"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  1313.             </tr>
  1314.             <tr>
  1315.                <td width="10"><img src="themes/<?=$setts['default_theme'];?>/img/c3.gif" width="10" height="10"></td>
  1316.                <td width="100%" style="border-bottom: 1px solid #bbbbbb;"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
  1317.                <td width="10"><img src="themes/<?=$setts['default_theme'];?>/img/c4.gif" width="10" height="10"></td>
  1318.             </tr>
  1319.          </table>
  1320.  
  1321.          <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
  1322.          <div align="center">
  1323.             <?=$banner_header_content;?>
  1324.          </div>
  1325.          <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
  1326.          <div align="center" style="padding: 5px;" class="footerfont">
  1327.             <a href="<?=$index_link;?>"><?=MSG_BTN_HOME;?></a>
  1328.                 <? if (!$setts['enable_private_site'] || $is_seller) { ?>
  1329.                 | <a href="<?=$place_ad_link;?>"><?=$place_ad_btn_msg;?></a>
  1330.                 <? } ?>
  1331.                 | <a href="<?=$register_link;?>"><?=$register_btn_msg;?></a>
  1332.                 | <a href="<?=$login_link;?>"><?=$login_btn_msg;?></a>
  1333.                 | <a href="<?=process_link('content_pages', array('page' => 'help'));?>"><?=MSG_BTN_HELP;?></a>
  1334.                 | <a href="<?=process_link('content_pages', array('page' => 'faq'));?>"><?=MSG_BTN_FAQ;?></a>
  1335.                 <? if ($layout['enable_site_fees_page']) { ?>
  1336.             | <a href="<?=process_link('site_fees');?>"><?=MSG_BTN_SITE_FEES;?></a>
  1337.             <? } ?>
  1338.             <? if ($layout['is_about']) { ?>
  1339.             | <a href="<?=process_link('content_pages', array('page' => 'about_us'));?>"><?=MSG_BTN_ABOUT_US;?></a>
  1340.             <? } ?>
  1341.             <? if ($layout['is_contact']) { ?>
  1342.             | <a href="<?=process_link('content_pages', array('page' => 'contact_us'));?>"><?=MSG_BTN_CONTACT_US;?></a>
  1343.             <? } ?>
  1344.             <?=$custom_pages_links;?>
  1345.             </div>
  1346.          <div align="center" class="footerfont1"> Copyright &copy;2011 <b><a href="http://www.powercontinuity.co.uk/" target="_blank">Power Continuity</a></b>.
  1347.             All Rights Reserved. Designated trademarks and brands are the property of their respective owners.<br>
  1348.             Use of this Web site constitutes acceptance of the <b>
  1349.             <?=$setts['sitename'];?>
  1350.             </b>
  1351.             <? if ($layout['is_terms']) { ?>
  1352.             <a href="<?=process_link('content_pages', array('page' => 'terms'));?>"><?=MSG_BTN_TERMS;?></a>
  1353.             <? } ?>
  1354.             <? if ($layout['is_pp']) { ?>
  1355.             and <a href="<?=process_link('content_pages', array('page' => 'privacy'));?>"><?=MSG_BTN_PRIVACY;?></a>
  1356.             <? } ?>        
  1357.          </div>
  1358.         </td>
  1359.    </tr>
  1360. </table>
  1361. <script type="text/javascript">
  1362. <!--
  1363. var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
  1364. var MenuBarCategories = new Spry.Widget.MenuBar("MenuBarCategories", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
  1365. var MenuBarHelp = new Spry.Widget.MenuBar("MenuBarHelp", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
  1366. //-->
  1367. </script>
  1368. <? if (
  1369.     (stristr($_SERVER['PHP_SELF'], "index.php") && empty($_GET['change_language']) && empty($_GET['change_skin'])) ||
  1370.     stristr($_SERVER['PHP_SELF'], "auction_details.php") ||
  1371.     stristr($_SERVER['PHP_SELF'], "reverse_details.php") ||
  1372.     stristr($_SERVER['PHP_SELF'], "wanted_details.php")
  1373. ) { ?>
  1374. <script type="text/javascript">
  1375. <!--
  1376. var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
  1377. //-->
  1378. </script>
  1379. <? } ?>
  1380. <?=$setts['ga_code'];?>
  1381. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment