📄 template.php
字号:
{
echo "SELL OFFERS";
}
?>
</td>
<td width="7" > </td>
<td height="25" class="<?php
if(!preg_match("/\/buyoffers.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab";}
else
{ echo "activetab"; }
?>
">
<?php
if(!preg_match("/\/buyoffers.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="buyoffers.php" >Buy Offers</a>
<?php
}
else
{
echo "BUY OFFERS";
}
?>
</td>
<td width="7" > </td>
<td height="25" class="<?php
if(!preg_match("/\/products.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab";}
else
{ echo "activetab"; }
?>
">
<?php
if(!preg_match("/\/products.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="products.php" >Products</a>
<?php
}
else
{
echo "PRODUCTS";
}
?>
</td>
<td width="7" > </td>
<td height="25" class="<?php
if(!preg_match("/\/profiles.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab";}
else
{ echo "activetab"; }
?>
">
<?php
if(!preg_match("/\/profiles.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="profiles.php">Companies</a>
<?php
}
else
{
echo "COMPANIES";
}
?>
</td>
<td width="7" > </td>
<td height="25" class="<?php
if(!preg_match("/\/cart_items.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab";}
else
{ echo "activetab"; }
?>
">
<?php
if(!preg_match("/\/cart_items.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="cart_items.php">Inquiry Basket</a>
<?php
}
else
{
echo "INQUIRY BASKET";
}
?>
</td>
<td width="7" > </td>
<td class="<?php
if(isset($_SESSION["sbbleads_userid"]))
{
if(!preg_match("/\/userhome.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab"; }
else
{ echo "activetab"; }
}
else
{
if(!preg_match("/\/signin.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab"; }
else
{ echo "activetab"; }
}
?>
">
<?php
if(isset($_SESSION["sbbleads_userid"]))
{
if(!preg_match("/\/userhome.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="userhome.php" >Member Home</a>
<?php
}
else
{
echo "MEMBER HOME";
}
}
else
{
if(!preg_match("/\/signin.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="signin.php" >Login</a>
<?php
}
else
{
echo "LOGIN";
}
}
?>
</td>
<td width="7" > </td>
<td width="80" class="<?php
if(!preg_match("/\/stats.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab";}
else
{ echo "activetab"; }
?>
">
<?php
if(!preg_match("/\/stats.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="stats.php" >Stats</a>
<?php
}
else
{
echo "STATS";
}
?>
</td>
<td width="7" > </td>
<td class="<?php
if(!preg_match("/\/linktous.php/",$_SERVER['SCRIPT_NAME']))
{ echo "inactivetab";}
else
{ echo "activetab"; }
?>
" width="80">
<?php
if(!preg_match("/\/linktous.php/",$_SERVER['SCRIPT_NAME']))
{
?>
<a href="linktous.php" >Contact Us</a>
<?php
}
else
{
echo "CONTACT US";
}
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr height=20>
<td colspan="3" align="right" class="sidetitle" ><table width="100%" border="0" cellspacing="0" cellpadding="0" class="sidetitle" >
<tr>
<td> <? echo sb_date(time());?></td>
<td align="right">
<?
if(isset($_SESSION["sbbleads_userid"])) {
echo "Logged in as <b>" . $_SESSION["sbbleads_username"] . "</b>" ;
?>
| <a href="logout.php" class="titlelink">LOGOUT</a>
<?
}
else
{
?>
<font size=1>Welcome <strong>Guest</strong>,
Please <a href="signin.php" class="titlelink">LOGIN</a>
to your account or <a href="signup.php"class="titlelink">SIGNUP</a>
with us for business opportunities</font>
<?
}
?>
</td>
</tr>
</table>
</td>
</tr>
<tr class="mainbgcolor" >
<td align="center" valign="middle"> <font face="verdana, arial" size="1" class='red'>
<?
if ( isset($_REQUEST["msg"])&&$_REQUEST['msg']<>"")
{
print($_REQUEST['msg']);
}
//end if
?>
</font> </td>
</tr>
<tr valign="top" width=100%>
<td class="mainbgcolor" > <div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="150" align="left">
<? left();?>
</td>
<td align="center">
<?php main();?>
</td>
</tr>
</table>
</div></td>
</tr>
<!-- <tr height=2>
<td colspan="3" class="seperatorstyle" ></td>
</tr>-->
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top" >
<table align="center" width="100%" cellpadding="2" cellspacing="0" class="bottomstyle">
<tr>
<td align="center"> <a href="index.php" class="bottomlink">HOME</a>
| <a href="selloffers.php" class="bottomlink">SELL OFFERS</a> | <a href="buyoffers.php" class="bottomlink">BUY
OFFERS</a> | <a href="products.php" class="bottomlink">PRODUCTS</a>
| <a href="profiles.php" class="bottomlink">COMPANIES</a> |
<?php
if(!isset($_SESSION["sbbleads_userid"]))
{?>
<a href="signin.php" class="bottomlink">LOGIN</a>
<?php
}
else
{
?>
<a href="userhome.php" class="bottomlink">MEMBER AREA</a>
<?
}?>
| <a href="cart_items.php" class="bottomlink">INQUIRY BASKET</a> |
<a href="linktous.php" class="bottomlink">CONTACT US</a> <br>
<a href="post_offer.php" class="bottomlink">POST SELL OFFERS</a> |
<a href="post_offer_buy.php" class="bottomlink">POST BUY OFFERS</a>
| <a href="post_product.php" class="bottomlink">POST PRODUCTS</a>
| <a href="show_messages.php" class="bottomlink">CHECK INQUIRIES</a>
| <a href="manage_search.php" class="bottomlink">MY SEARCHES</a> |
<a href="manage_favorites.php" class="bottomlink">MY FAVORITES</a>
| <a href="choose_membership.php" class="bottomlink">UPGRADE MEMBERSHIP</a><br>
<a href="terms.php" target="_blank" class="bottomlink">TERMS OF USE</a> | <a href="privacy.php" target="_blank" class="bottomlink">PRIVACY
POLICY</a> | <a href="legal.php" target="_blank" class="bottomlink">LEGAL POLICY</a>
</td></tr></table></td>
</tr>
<tr>
<td valign="top" ><div align="center"><font color="#003366" size="3" face="Verdana, Arial, Helvetica, sans-serif"><? //echo $config["sb_html_footer"];?></font></div></td>
</tr>
<tr>
<td valign="top" ><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><font size="1">Powered
by SoftbizScripts</font></font></div></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -