upgrade.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Content-Language" content="zh-CN" />
  6. <title><?=$mymps_global[SiteName]?>推广服务中心</title>
  7. <link type="text/css" rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/global/zhiding.css" >
  8. <script src="<?=$mymps_global[SiteUrl]?>/template/global/mymps_noerr.js" type="text/javascript"></script>
  9. </head>
  10. <body>
  11. <div id="dcontent">
  12. <div class="all">
  13. <div class="blank"></div>
  14. <h2><?php echo $s_uid; ?>,请选择置顶类型:</h2>
  15. <div class="blank10"></div>
  16. <div class="blankColor2Px"></div>
  17. <div id="con">
  18. <div id="tagContent">
  19. <div class="border">
  20. <form method="post" action="<?=$mymps_global[SiteUrl]?>/box.php?part=upgrade" name="form1" onsubmit="document.form1.post_submit.disabled=true;">
  21. <input type="hidden" name="id" value="<?=$id?>">
  22. <input type="hidden" name="catid" value="<?=$catid?>">
  23. <input type="hidden" name="money_own" value="<?=$money_own?>">
  24. <input type="hidden" name="iftop" value="<?=$row['upgrade_type']?>">
  25. <input type="hidden" name="iflisttop" value="<?=$row['upgrade_type_list']?>">
  26. <input type="hidden" name="ifindextop" value="<?=$row['upgrade_type_index']?>">
  27. <input type="hidden" name="ac" value="actionupgrade">
  28. <input type="hidden" name="box" value="1">
  29. <div id="proSerList" class="tagContentClass selectTag">
  30. <table class="fftable" cellpadding="0" cellspacing="0">
  31. <tr>
  32. <th>推广我的信息</th>
  33. <th align="left" style="padding-left:10px;">
  34. <span>置顶类型</span>
  35. </th>
  36. <th align="left" style="padding-left:10px;">
  37. <span>置顶时长</span>
  38. </th>
  39. </tr>
  40. <tr class="listingRowHighlight">
  41. <td style="height:38px">
  42. <div class="listingRow">
  43. <h4 class="listingTitle">
  44. <a style="text-decoration:underline;" href="<?=$mymps_global[SiteUrl]?>/information.php?id=<?=$id?>" target="_blank"><?=$row[title]?></a>
  45. </h4>
  46. </div>
  47. </td>
  48. <td align="center">
  49. <select name="upgrade_type" id="upgrade_type">
  50. <option value="cfg_member_upgrade_top">大类置顶</option>
  51. <option value="cfg_member_upgrade_list_top">小类置顶</option>
  52. <option value="cfg_member_upgrade_index_top">上首页</option>
  53. </select>
  54. </td>
  55. <td align="center">
  56. <?=GetUpgradeTime()?>
  57. </td>
  58. </tr>
  59. </table>
  60. </div>
  61. <div id="message" class="errorMsgBorder errorMsgText" style="display:none;">请至少选择一项服务</div>
  62. <div class="hline" ></div>
  63. <table border="0" cellspacing="0" cellpadding="0" width="100%" class="totalnew">
  64. <tr>
  65. <td><div>您目前拥有金币<font color="red"><?=$money?></font>,将扣除您的金币:</div></td>
  66. <td width="10%" ><div><span ><font id="total">0</font></span></div></td>
  67. </tr>
  68. </table>
  69. <div class="blank20"></div>
  70. <CENTER>
  71. <button type="submit" class="ButtonOrgLong WordSevenLong" name="actionupgrade" style="width:250px;background:transparent url(<?=$mymps_global[SiteUrl]?>/images/zhiding/pay_btnTmp.png) no-repeat scroll 0pt -105px;" id="post_submit">确认无误,提交置顶</button>
  72. </CENTER>
  73. </form>
  74. <script language="javascript">
  75. function calculate()
  76. {
  77. var ID0=document.getElementById("upgrade_type").value;
  78. var ID1=document.getElementById("upgrade_time").value;
  79. var ID2=document.getElementById("total").value;
  80. if(ID0 == "cfg_member_upgrade_top"){
  81. document.getElementById("total").innerHTML=<?php echo $mymps_global[cfg_member_upgrade_top]?>*ID1;
  82. }else if(ID0 == "cfg_member_upgrade_list_top"){
  83. document.getElementById("total").innerHTML=<?php echo $mymps_global[cfg_member_upgrade_list_top]?>*ID1;
  84. }else{
  85. document.getElementById("total").innerHTML=<?php echo $mymps_global[cfg_member_upgrade_index_top]?>*ID1;
  86. }
  87. if(ID0==""||ID1=="")
  88. ID2="";
  89. setTimeout("calculate()",30);
  90. }
  91. calculate()
  92. </script>
  93. </div>
  94. <div class="blank20"></div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </body>
  100. </html>