index.htm
来自「PHPShops多用户商城系统(简称PHPShops)是基于电子商务的一套平台交」· HTM 代码 · 共 162 行
HTM
162 行
<!--<?php
include_once Template('header');
print <<<EOT
-->
<div id="content">
<div style="width:65%; float:left; padding-left:1%">
<h3>欢迎您 $user_name ,小二在此恭候多时了!</h3>
<dl class="dlA">
<!--
EOT;
if($userdb[sellerid] >0){print <<<EOT
-->
<dt>卖家信用:</dt><dd><strong class="orange">$userdb[scredit] <a href="usercp.php?userjob=credit"><img style="margin-bottom:-3px" src="$imgpath/default/credit/{$lpic[$userdb[sellerid]]}.gif" title="{$ltitle[$userdb[sellerid]]}"></a></strong></dd>
<!--
EOT;
}print <<<EOT
-->
<dt>买家信用:</dt><dd><strong class="orange">$userdb[bcredit] <a href="usercp.php?userjob=credit"><img style="margin-bottom:-3px" src="$imgpath/default/credit/{$lpic[$userdb[memberid]]}.gif" title="{$ltitle[$userdb[memberid]]}"></a></strong></dd>
</dl>
<dl class="dlA">
<!--
EOT;
if($userdb[sellerid] >0){print <<<EOT
-->
<dt>卖家好评率:</dt><dd><strong class="orange">$userdb[scent]%</strong></dd>
<!--
EOT;
}print <<<EOT
-->
<dt>买家好评率:</dt><dd><strong class="orange">$userdb[bcent]%</strong></dd>
</dl>
<dl class="dlA">
<!--
EOT;
if($userdb[groupid]!=-1){print <<<EOT
-->
<dt>系统头衔:</dt><dd>{$ltitle[$userdb[groupid]]}</dd>
<!--
EOT;
}if($userdb[sellerid] > 0){print <<<EOT
-->
<dt>卖家头衔:</dt><dd>{$ltitle[$userdb[sellerid]]}</dd>
<!--
EOT;
}print <<<EOT
-->
<dt>买家头衔:</dt><dd>{$ltitle[$userdb[memberid]]}</dd>
</dl>
<dl class="dlA">
<dt>上次登陆时间:</dt><dd>$userdb[lastvisit]</dd>
</dl>
<div class="dlA">
<h3>
<!--
EOT;
if($db_alipartner){print <<<EOT
-->
<a href="usercp.php?userjob=sellerset&action=onlinepay"><img src="$imgpath/user/alipay_logo.gif" alt="本系统支持支付宝交易" align="absmiddle" /></a>
<!--
EOT;
}if(empty($userdb[sellerid])){print <<<EOT
-->
您还不是卖家,<a href="usercp.php?userjob=verify&action=requisition">马上成为卖家</a>
<!--
EOT;
} elseif($userdb[sellerid] == '-1'){print <<<EOT
-->
您已经申请成为卖家,请耐心等待系统审核
<!--
EOT;
} else{print <<<EOT
-->
您已经成为系统认证卖家,<a href="usercp.php?userjob=goods">现在就去发布商品</a>
<!--
EOT;
}print <<<EOT
-->
</h3></div>
<div class="c"></div>
<!--
EOT;
if($buyeroid){print <<<EOT
-->
<div class="h1Abox tar">
<h1 class="active"><span><a>买家提醒</a></span></h1>
</div>
<div class="dlA"><h3>您有 <a href="usercp.php?userjob=buyed">{$buyeroid}</a> 个未处理的订单</h3></div>
<div class="c"></div>
<!--
EOT;
}if($selldb){print <<<EOT
-->
<div class="h1Abox tar">
<h1 class="active"><span><a>卖家提醒</a></span></h1>
</div>
<!--
EOT;
if($selldb[1]){print <<<EOT
-->
<div class="dlA"><h3>您有 <a href="usercp.php?userjob=selled">{$selldb[1][count]}</a> 个订单等待发货</h3></div>
<!--
EOT;
}if($selldb[0]){print <<<EOT
-->
<div class="dlA"><h3>您有 <a href="usercp.php?userjob=selled">{$selldb[0][count]}</a> 个订单等待确认付款</h3></div>
<!--
EOT;
}}if($bcount || $scount){print <<<EOT
-->
<div class="h1Abox tar">
<h1 class="active"><span><a>评价提醒</a></span></h1>
</div>
<!--
EOT;
if($bcount){print <<<EOT
-->
<div class="dlA"><h3>在已买入的商品中有 <a href="usercp.php?userjob=buyed">{$bcount}</a> 个未评价的订单</h3></div>
<!--
EOT;
}if($scount){print <<<EOT
-->
<div class="dlA"><h3>在已卖出的商品中有 <a href="usercp.php?userjob=selled">{$scount}</a> 个未评价的订单</h3></div>
<!--
EOT;
}}print <<<EOT
-->
</div>
<div style="width:30%; float:right">
<!--
EOT;
if($userdb['sellerid'] > 0){print <<<EOT
-->
<div class="boxF">
<h4>系统卖家公告</h4>
<ul class="listA">
<!--
EOT;
foreach($_Announce as $val){
if($val[tourl]){print <<<EOT
-->
<li><a href="$val[tourl]" target="_blank">$val[subject]</a></li>
<!--
EOT;
}else{print <<<EOT
-->
<li><a href="article.php?item=note&itemid=$val[aid]" target="_blank">$val[subject]</a></li>
<!--
EOT;
}}print <<<EOT
-->
</ul>
</div>
<!--
EOT;
}print <<<EOT
-->
</div>
</div>
<!--
EOT;
?>-->
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?