| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?
- include("../config/conn.php");
- include("../config/function.php");
- sesCheck();
- $userid=returnuserid($_SESSION[SHOPUSER]);
- $sj=date("Y-m-d H:i:s");
- if($_GET[control]=="del"){
- deletetable("yjcode_profav where userid=".$userid." and id=".$_GET[id]);
- php_toheader("favpro.php");
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="x-ua-compatible" content="ie=7" />
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>用户管理面板 - <?=webname?></title>
- <? include("cssjs.html");?>
- <link href="css/inf.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <? include("../tem/top.html");?>
- <? include("top.php");?>
- <div class="yjcode">
- <? include("left.php");?>
- <!--RB-->
- <div class="userright">
-
- <? include("rcap7.php");?>
- <script language="javascript">
- document.getElementById("rcap1").className="l1 l2";
- </script>
- <!--白B-->
- <div class="rkuang">
-
- <!--店铺收藏B-->
- <div class="favpro">
- <ul class="u1">
- <?
- if($_GET[page]!=""){$page=$_GET[page];}else{$page=1;}
- pagef(" where userid=".$userid,14,"yjcode_profav","order by sj desc");while($row=mysql_fetch_array($res)){
- while1("*","yjcode_pro where bh='".$row[probh]."' order by lastsj desc limit 5");$row1=mysql_fetch_array($res1);
- ?>
- <li class="l1"><a href="../product/view<?=$row1[id]?>.html" target="_blank"><img border="0" src="<?=returntp("bh='".$row1[bh]."' order by iffm desc limit 1","-2")?>" width="120" height="120" /><br><?=returntitdian($row1[tit],50)?></a><br><strong class="feng">¥<?=returnjgdian(returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]))?></strong><br>[<a href="favpro.php?id=<?=$row[id]?>&control=del">移除</a>]</li>
- <? }?>
- </ul>
- </div>
- <?
- $nowurl="favpro.php";
- $nowwd="";
- include("page.php");
- ?>
- <!--店铺收藏E-->
-
- </div>
- <!--白E-->
- </div>
- <!--RE-->
- </div>
- <div class="clear clear15"></div>
- <? include("../tem/bottom.html");?>
- </body>
- </html>
|