예제 #1
0
			}
			if(($_GET["page"])==""){
			    $page=1;
			
			}else{
			    $page=intval($_GET["page"]);
			
			}
			 
            
			 $sql1=mysql_query("select * from leaveword  order by time desc limit ".($page-1)*$pagesize.",$pagesize ",$conn);
             while($info1=mysql_fetch_array($sql1))
		     {
		  ?>
        <tr> 
          <td height="20" bgcolor="#FFFFFF"><div align="left"><?php echo unhtml($info1["title"]);?></div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center">
		  <?php
		   $sql2=mysql_query("select name from user where id='".$info1["userid"]."'",$conn);
		   $info2=mysql_fetch_array($sql2);
		   echo $info2["name"];
		  ?>
		  </div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center"><?php echo $info1["time"];?></div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center"><a href="editleaveword.php?id=<?php echo $info1["id"];?>">查看编辑</a></div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center">
              <input type="checkbox" name=<?php echo $info1["id"];?> value=<?php echo $info1["id"];?>>
            </div></td>
        </tr>
		<?php
		 }
예제 #2
0
파일: lookmailinfo.php 프로젝트: noikiy/web
                                            </tr>
                                        </table></td>
                                      </tr>
                                      <?php 
}
?>
                                  </table>
								  <table width="454" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td><div  align="center" name="content1" id="content1" style=" padding:5pt;BORDER-RIGHT:1px solid; BORDER-TOP:1px solid #999999;OVERFLOW-X: auto;OVERFLOW-Y: auto; BORDER-LEFT:1px solid; WIDTH: 350; BORDER-BOTTOM:1px solid; HEIGHT: 120px"> &nbsp;&nbsp;&nbsp;&nbsp;
                                        <?php 
include_once "function.php";
if (unhtml(imap_base64(@imap_fetchbody($mbox, $id, 1))) == "") {
    echo unhtml(@imap_fetchbody($mbox, $id, 1));
} else {
    echo unhtml(imap_base64(imap_fetchbody($mbox, $id, 1)));
}
?>
                                </div></td>
                              </tr>
</table>
		</td>
      </tr>
      <tr>
        <td height="27"><img src="images/mail_10.gif" width="454" height="27"></td>
      </tr>
    </table></td>
    <td width="15" valign="top"><img src="images/mail_05.gif" width="15" height="421"></td>
  </tr>
</table>
</body>
예제 #3
0
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查看评论</title>
<link rel="stylesheet" type="text/css" href="css/font.css">
</head>
<?php
error_reporting(0);
include("conn.php");
include("function.php");
$sql=mysql_query("select * from pingjia where id='".$_GET["id"]."'",$conn);
$info=mysql_fetch_array($sql);
?>
<body topmargin="0" leftmargin="0" bottommargin="0">
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25"><div align="left">评论主题:<?php echo $info["title"];?></div></td>
  </tr>
  <tr>
    <td height="25"><div align="left">内容:</div></td>
  </tr>
  <tr>
    <td height="140" valign="top"><div align="left"><?php echo unhtml($info["content"]);?></div></td>
  </tr>
</table>
</body>
</html>
예제 #4
0
파일: showpl.php 프로젝트: noikiy/web
        $info3 = mysql_fetch_array($sql3);
        echo $info3[name];
        ?>
          </div></td>
        </tr>
        <tr>
          <td height="20"><div align="center">评论主题:</div></td>
          <td height="20" colspan="3"><div align="left"><?php 
        echo unhtml($info1[title]);
        ?>
</div></td>
        </tr>
        <tr>
          <td height="40"><div align="center">评论内容:</div></td>
          <td height="40" colspan="3" valign="bottom"><div align="left"><?php 
        echo unhtml($info1[content]);
        ?>
</div></td>
        </tr>
        <tr>
          <td height="10" colspan="4" background="images/line1.gif"></td>
        </tr>
        <?php 
    }
}
?>
      </table>
      <table width="550" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><div align="right"> &nbsp;本站共有该商品评论&nbsp;
                  <?php 
예제 #5
0
		     $id=$_GET["id"];
			 $sql=mysql_query("select * from gonggao where id='".$id."'",$conn);
			 $info=mysql_fetch_array($sql);
		     include("function.php");
		   
		   ?> 
			
			<tr>
              <td width="68" height="25" bgcolor="#FFFFFF"><div align="center">公告主题:</div></td>
              <td width="252" bgcolor="#FFFFFF"><div align="left"><?php echo unhtml($info["title"]);?></div></td>
              <td width="63" bgcolor="#FFFFFF"><div align="center">发布时间:</div></td>
              <td width="112" bgcolor="#FFFFFF"><div align="left"><?php echo $info["time"];?></div></td>
            </tr>
            <tr>
              <td height="125" bgcolor="#FFFFFF"><div align="center">公告主题:</div></td>
              <td height="125" colspan="3" bgcolor="#FFFFFF"><div align="left"><?php echo unhtml($info["content"]);?></div></td>
            </tr>
			
			
          </table></td>
        </tr>
      </table>
      <table width="500" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><div align="right"><a href="showgonggao.php">继续查看</a></div></td>
        </tr>
      </table></td>
  </tr>
</table>
<?php
 include("bottom.php");
     continue;
 }
 echo "{$remedium_abbr} ({$remedium_name}) ... {$url2}\n";
 $remedium = new remediumModel();
 if (!$remedium->find_one_by_name($remedium_name)) {
     $remedium->name = $remedium_name;
     $remedium->abbreviation = $remedium_abbr;
     $remedium->save();
 }
 $html = url_get($url2);
 $html = iconv('iso8859-2', 'utf-8', $html);
 $html = str_replace(['ć', 'Ć', 'œ'], ['e', 'AE', 'e'], $html);
 $b = [];
 if (preg_match_all('~<p align="justify">(.+?)</p>~si', $html, $b)) {
     foreach ($b[1] as $h) {
         $h = unhtml($h);
         $h = explode('.--', $h);
         if (count($h) == 1) {
             $desc = new descModel();
             $d = $desc->find('en', $book->id, $remedium->id);
             if (!$d) {
                 $desc->add($h[0], 'en', $book->id, $remedium->id);
             } else {
                 $dict = new dictModel($d);
                 $dict->body = $h[0];
                 $dict->save();
             }
         }
         if (count($h) == 2) {
             $complaint = new complaintModel();
             $complaint_name = strtolower($h[0]);
예제 #7
0
파일: jszc.php 프로젝트: noikiy/web
              <td height="80" colspan="2" valign="top"><table width="275" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
                  <?php 
$sqluwz = mysql_query("select * from tb_sjxz order by addtime desc limit 3,3", $conn);
while ($infouwz = mysql_fetch_array($sqluwz)) {
    ?>
                 
                  <tr>
                    <td width="15" height="22"><div align="center"><img src="images/mark_0.gif" width="3" height="3" /></div></td>
                    <td width="285" height="22" style="padding:5"><a href="sjxz.php?id=<?php 
    $sqlt = mysql_query("select id  from tb_type where id='" . $infouwz["typeid"] . "'", $conn);
    $infot = mysql_fetch_array($sqlt);
    echo $infot["id"];
    ?>
" class="a1">
                      <?php 
    echo unhtml(msubstr($infouwz["name"], 0, 12));
    if (strlen($infouwz["name"]) > 12) {
        echo " .";
    }
    echo "<font color=red>[" . substr(str_replace("-", "/", $infouwz[addtime]), 0, 10) . "]</font>";
    ?>
                    </a> </td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2" background="images/line_1.gif"></td>
                  </tr>
                  <?php 
}
?>
              </table></td>
            </tr>
예제 #8
0
		   <?php 
		     $spid=$info1["userid"];
			 $sql3=mysql_query("select name from user where id=".$spid."",$conn);
			 $info3=mysql_fetch_array($sql3);
			 echo $info3["name"];
			
		  ?>
		  </div></td>
        </tr>
        <tr>
          <td height="20"><div align="center">评论主题:</div></td>
          <td height="20" colspan="3"><div align="left"><?php echo unhtml($info1["title"]);?></div></td>
        </tr>
        <tr>
          <td height="40"><div align="center">评论内容:</div></td>
          <td height="40" colspan="3" valign="bottom"><div align="left"><?php echo unhtml($info1["content"]);?></div></td>
        </tr>
        <tr>
          <td height="10" colspan="4" background="images/line1.gif"></td>
        </tr>
		  <?php
		   }
		  }
		  
		  ?>
		
      </table>
      <table width="550" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><div align="right">
		   &nbsp;本站共有该商品评论&nbsp;<?php
예제 #9
0
파일: cjwt.php 프로젝트: noikiy/web
			   if($total%$pagesize==0){
			      $pagecount=intval($total/$pagesize);
			   }else{
			      $pagecount=ceil($total/$pagesize);
			   }
			   $sql=mysql_query("select * from tb_cjwt order by createtime desc limit ".($page-1)*$pagesize.",$pagesize  ",$conn);
			   while($info=mysql_fetch_array($sql)){
			  
	     ?> 
			
            <tr>
              <td width="30" height="22"><div align="center"><img src="images/mark_0.gif" width="3" height="3" /></div></td>
              <td width="690" height="22">
			  <a href="lookcjwt.php?id=<?php echo $info["id"];?>" class="a1" target="_blank">
			  <?php
			  echo unhtml(msubstr($info["question"],0,70));
						
						 if(strlen($info["question"])>70)
			             {
			                echo " ...";
			             }
						 echo "<font color=blue>[".substr(str_replace("-","/",$info[createtime]),0,10)."]</font>";
						 
			?></a></td>
            </tr>
		<?
			 }
		  }
		?>	
          </table></td>
        </tr>
예제 #10
0
    <td width="780" height="21" bgcolor="#FFFFFF"><?php 
echo $myrow_3["tb_affiche_date"];
?>
   楼主</td>
  </tr>
  <tr>
    <td height="21" bgcolor="#FFFFFF"><?php 
$length = strlen($myrow_3["tb_affiche_content"]);
$page_count = ceil($length / 80);
if ($length < 80) {
    echo $myrow_3["tb_affiche_content"];
} else {
    for ($i = 1; $i < $page_count; $i++) {
        $c = msubstr($myrow_3["tb_affiche_content"], 0, ($i - 1) * 80);
        $c1 = msubstr($myrow_3["tb_affiche_content"], 0, $i * 80);
        echo unhtml(substr($c1, strlen($c), strlen($c1) - strlen($c)));
        echo "\n";
    }
}
?>
</td>
  </tr>
  <tr>
    <td align="right" bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
</table><table width="1003" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="667" bgcolor="#F7F7FF">&nbsp;</td>
    <td width="283" bgcolor="#F7F7FF"><img src="images/index_8 (2).jpg" width="218" height="75"></td>
  </tr>
</table>
예제 #11
0
파일: v1banner.php 프로젝트: kwdwkiss/trial
<?php

$mian = $_SERVER["PHP_SELF"];
function unhtml($content)
{
    $content = str_replace("v1list.php", "v1sy", $content);
    $content = str_replace("v1list_view", "v1sy", $content);
    $content = str_replace(".php", "", $content);
    $content = str_replace("list", "", $content);
    $content = str_replace("_", "", $content);
    return $content;
}
$nav = unhtml($mian);
$list = "v1sy";
$qiang = "v1qiang";
$item = "v1item";
$shop = "v1shop";
$task = "v1task";
$duihuan = "v1duihuan";
$choujiang = "v1choujiang";
$wenzhang = "v1wenzhang";
?>
<div id="shikee-logo" class="logo">
  <h1 id="logo"> <a class="shikee-img-logo" href="http://<?php 
echo $siteweb['siteUrl'];
?>
" target="_self"> <img width="529" height="57" src="/img/logo.png" alt="<?php 
echo $siteweb['siteName'];
?>
 - logo" title="<?php 
echo $siteweb['siteName'];
예제 #12
0
파일: bbs_list.php 프로젝트: noikiy/web
    <td height="23" bgcolor="#E9F3FF" class="a12">&nbsp;<img src="images/jia.gif" border="0" alt="展开" id="img<?php 
        echo $info[id];
        ?>
" onclick="ShowTR(img<?php 
        echo $info[id];
        ?>
,tr<?php 
        echo $info[id];
        ?>
)" />
        <?php 
        include_once "function.php";
        if ($info[top] == 1) {
            echo "<a href=\"bbs_lookbbs.php?id=" . $info[id] . "\" class=a1>" . unhtml($info[title]) . "";
        } else {
            echo "<a href=\"bbs_lookbbs.php?id=" . $info[id] . "\" class=a1>" . unhtml($info[title]);
        }
        ?>
        <div align="left"></div></td>
    <td height="23" bgcolor="#E9F3FF"><div align="center">
      <?php 
        $sql1 = mysql_query("select count(*) as total from tb_reply where bbsid='" . $info[id] . "'", $conn);
        $info1 = mysql_fetch_array($sql1);
        echo $info1[total];
        ?>
      |&nbsp;<?php 
        echo $info[readtimes];
        ?>
</div></td>
    <td height="23" bgcolor="#E9F3FF"><div align="center">
      <?php 
예제 #13
0
파일: bbs_index.php 프로젝트: noikiy/web
          <td bgcolor="F0F5F9"><div align="center" style="font-weight: bold; color: #DC4A01">热门帖数</div></td>
        </tr>
        
		 
	    <?php 
            do {
                ?>
		<tr>
          <td width="62" height="60" bgcolor="F0F5F9"><div align="center"><img src="images/lt_15(3).jpg" width="40" height="36" /></div></td>
          <td height="60" bgcolor="F0F5F9"><table width="474" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="474" height="30">&nbsp;<strong><a href="bbs_list.php?id=<?php 
                echo $info1["id"];
                ?>
" class="a1"><?php 
                echo unhtml($info1["title"]);
                ?>
</a></strong></td>
             
            </tr>
            <tr>
              <td height="30"><font color="#666666">创建时间:<?php 
                echo $info1["createtime"];
                ?>
</font></td>
            </tr>
          </table></td>
          <td width="81" height="60" bgcolor="F0F5F9"><div align="center"><?php 
                $sqlt = mysql_query("select count(*) as totalt from tb_bbs where typeid='" . $info1["id"] . "'", $conn);
                $infot = mysql_fetch_array($sqlt);
                echo $infot["totalt"];
예제 #14
0
파일: bbs_find.php 프로젝트: noikiy/web
        <td width="58" bgcolor="#F7F7F7"><div align="center">回复次数</div></td>
        <td width="117" bgcolor="#F7F7F7"><div align="center">创建时间</div></td>
        <td width="117" bgcolor="#F7F7F7"><div align="center">最后回复时间</div></td>
        </tr>
      <?php 
        while ($info2 = mysql_fetch_array($sql2)) {
            $sql3 = mysql_query("select * from tb_user where id='" . $info2[userid] . "'", $conn);
            $info3 = mysql_fetch_array($sql3);
            ?>
      <tr>
        <td height="23" align="right" bgcolor="#F7F7F7"><div align="left">&nbsp;&nbsp;<a href="bbs_lookbbs.php?id=<?php 
            echo $info2[id];
            ?>
" class="a1"><?php 
            include_once "function.php";
            echo unhtml($info2[title]);
            ?>
</a></div></td>
        <td height="23" bgcolor="#F7F7F7"><div align="center"><a href="http://www.mingrisoft.com" target="_blank"></a><?php 
            echo $info3[usernc];
            ?>
</div></td>
        <td height="23" bgcolor="#F7F7F7"><div align="center">
            <?php 
            $sql4 = mysql_query("select count(*) as totalreply from tb_reply where bbsid='" . $info2[id] . "'", $conn);
            $info4 = mysql_fetch_array($sql4);
            echo $info4[totalreply];
            ?>
        </div></td>
        <td height="23" bgcolor="#F7F7F7"><div align="center"><?php 
            echo $info2[createtime];
예제 #15
0
파일: morebccd.php 프로젝트: noikiy/web
            ?>
                         </td>
                        </tr>
                        <tr>
                          <td><div align="center">价&nbsp;&nbsp;&nbsp;&nbsp;格:</div></td>
                          <td>
                            <?php 
            echo number_format($info["price"], 2) . "&nbsp;元";
            ?>
                          </td>
                        </tr>
                        <tr>
                          <td><div align="center">版&nbsp;&nbsp;&nbsp;&nbsp;权:</div></td>
                          <td>
                            <?php 
            echo unhtml($info["owner"]);
            ?>
                         </td>
                        </tr>
                        <tr>
                          <td colspan="2"><a href="bccdinfo.php?id=<?php 
            echo $info[id];
            ?>
"><img src="images/bg_14(3).jpg" border="0" width="69" height="20" /></a>&nbsp;<a href="shopping_cart_first.php?id=<?php 
            echo $info[id];
            ?>
"><img src="images/bg_14(4).jpg" width="69" height="20" border="0" /></a>&nbsp;<a href="shopping_cart.php"><img src="images/bg_14(16).jpg" border="0" width="80" height="22" /></a></td>
                          </tr>
                    </table></td>
                </tr>
            </table></td>
예제 #16
0
파일: lookcjwt.php 프로젝트: noikiy/web

<?php 
include_once "conn/conn.php";
include_once "function.php";
$sql = mysql_query("select * from tb_cjwt where id='" . $_GET["id"] . "'", $conn);
$info = mysql_fetch_array($sql);
?>
<table width="635" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="94" height="30"><div align="center"><strong>问&nbsp;&nbsp;题:</strong></div></td>
              <td width="541"><?php 
echo unhtml($info["question"]);
?>
</td>
            </tr>
            <tr>
              <td height="70"><div align="center"><strong>解&nbsp;&nbsp;答:</strong></div></td>
              <td height="70">&nbsp;<?php 
echo unhtml($info["answer"]);
?>
</td>
            </tr>
</table>


</td>
        </tr></table>
          </td>
        </tr>
      </table>
예제 #17
0
파일: rjxz.php 프로젝트: noikiy/web
            $pagecount = intval($total / $pagesize);
        } else {
            $pagecount = intval($total / $pagesize) + 1;
        }
    }
    $sql = mysql_query("select * from tb_soft order by addtime desc limit " . ($page - 1) * $pagesize . ",{$pagesize}", $conn);
    while ($info = mysql_fetch_array($sql)) {
        ?>
	   
	   
	    <tr>
          <td colspan="2" bgcolor="#FFFFFF">&nbsp;<a href="softinfo.php?id=<?php 
        echo $info[id];
        ?>
" class="a1"><?php 
        echo unhtml($info[softname]);
        ?>
</a></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center"><?php 
        echo $info[addtime];
        ?>
</div></td>
          <td bgcolor="#FFFFFF"><div align="center"><?php 
        echo $info[click];
        ?>
</div></td>
       </tr>
	  
	   <?php 
    }
}
예제 #18
0
파일: gmxz.php 프로젝트: noikiy/web
            do {
                ?>
	    <tr>
          <td height="22" bgcolor="#FFFFFF">&nbsp;
		  <?php 
                $sql0 = mysql_query("select * from tb_bb where id='" . $infoq[bbid] . "'", $conn);
                $info0 = mysql_fetch_array($sql0);
                echo unhtml($info0[bbname]);
                ?>
		  </td>
          <td height="22" bgcolor="#FFFFFF">&nbsp;<?php 
                echo unhtml($infoq[gn]);
                ?>
</td>
          <td height="22" bgcolor="#FFFFFF">&nbsp;<?php 
                echo unhtml($infoq[fw]);
                ?>
</td>
          <td height="22" bgcolor="#FFFFFF"><div align="center"><?php 
                echo $infoq[price];
                ?>
</div></td>
        </tr>
       <?php 
            } while ($infoq = mysql_fetch_array($sqlq));
        }
        ?>
 
      </table>
      <table width="550" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
예제 #19
0
파일: bccdinfo.php 프로젝트: noikiy/web
            </table></td>
          </tr>
        </table>
          <br>
          <table width="680" height="120" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999">
            <tr>
              <td bgcolor="#FFFFFF" valign="top"><div style="line-height:1.6; padding:5" ><font color="red">版本共同点:</font><?php 
echo unhtml($info["samepart"]);
?>
</div></td>
            </tr>
          </table>
		
		  <br>
          <table width="680" height="120" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999">
            <tr>
              <td bgcolor="#FFFFFF"><div style="line-height:1.6; padding:5" ><font color="red">内容简介:</font><?php 
echo unhtml($info["content"]);
?>
</div></td>
            </tr>
          </table>	
		  <br>		  	  </td>
      </tr>
    </table>


</td>
        </tr></table>
<?php 
include_once "bottom.php";
예제 #20
0
파일: editquestion.php 프로젝트: noikiy/web
          <td width="297" bgcolor="#F7F7F7"><div align="center">问题答案</div></td>
          <td width="63" bgcolor="#F7F7F7"><div align="center">删除</div></td>
        </tr>
	 <?php 
    $sql = mysql_query("select * from tb_cjwt order by createtime desc limit " . ($page - 1) * $pagesize . ",{$pagesize}", $conn);
    while ($info = mysql_fetch_array($sql)) {
        ?>
	
		
        <tr>
          <td height="25" align="right" bgcolor="#F7F7F7"><div align="left">&nbsp;<?php 
        echo unhtml($info[question]);
        ?>
</div></td>
          <td height="25" align="right" bgcolor="#F7F7F7"><div align="left"><?php 
        echo unhtml($info[answer]);
        ?>
</div></td>
          <td height="25" align="right" bgcolor="#F7F7F7"><div align="center"><a href="default.php?htgl=编辑常见问题&mtid=<?php 
        echo $info[id];
        ?>
"></a><a href="javascript:if(window.confirm('您确定删除该常见问题么?')==true){window.location.href='deletecjwt.php?id=<?php 
        echo $info[id];
        ?>
';}"><img src="images/del.gif" width="22" height="22" border="0"></a></div></td>
        </tr>
	 <?php 
    }
}
?>
      </table>
예제 #21
0
파일: bbs_lookbbs.php 프로젝트: noikiy/web
            if ($info4["usertype"] == 1 || $info4["usertype"] == 2) {
                ?>
<img src="images/lt_15(10).jpg" width="72" height="23" style="cursor:hand" onclick="javascript:if(window.confirm('您确定删除该条回复么?')==true){window.location.href='deletereply.php?id=<?php 
                echo $infor["id"];
                ?>
';}"/>
<?php 
            }
        }
        ?>

</td>
            </tr>
            <tr>
              <td height="25" colspan="3">&nbsp;&nbsp;<font color="#336699">回复主题:</font><?php 
        echo unhtml($infor["title"]);
        ?>
</td>
            </tr>
            <tr>
              <td height="135" colspan="3">

<?php 
        if ($infor[photo] != "") {
            $photos = substr($infor[photo], 2, 70);
            echo stripslashes($infor["content"]);
            echo "<img src=\"{$photos}\">";
        } else {
            echo stripslashes($infor["content"]);
        }
        ?>
예제 #22
0
파일: editdd.php 프로젝트: noikiy/web
          <td width="106" height="25" align="right" bgcolor="#F7F7F7"><div align="center">收货人</div></td>
     
          <td width="114" height="25" align="right" bgcolor="#F7F7F7"><div align="center">订单号</div></td>
          <td width="122" height="25" align="right" bgcolor="#F7F7F7"><div align="center">金额</div></td>
          <td width="140" bgcolor="#F7F7F7"><div align="center">电话</div></td>
          <td width="55" bgcolor="#F7F7F7"><div align="center">删除</div></td>
        </tr>
	 <?php 
    $sql = mysql_query("select * from tb_dd order by id desc limit " . ($page - 1) * $pagesize . ",{$pagesize}", $conn);
    while ($info = mysql_fetch_array($sql)) {
        ?>
	
		
        <tr>
          <td height="25" align="right" bgcolor="#F7F7F7"><div align="left">&nbsp;<?php 
        echo unhtml($info[recuser]);
        ?>
</div></td>
          <td align="right" bgcolor="#F7F7F7"><div align="center"><?php 
        echo $info[ddnumber];
        ?>
</div></td>
          <td align="right" bgcolor="#F7F7F7"><div align="center"><?php 
        echo $info[totalprice];
        ?>
</div></td>
          <td height="25" align="right" bgcolor="#F7F7F7"><div align="center"><?php 
        echo $info[mtel];
        ?>
/<?php 
        echo $info[gtel];
예제 #23
0
파일: editbd.php 프로젝트: noikiy/web
        </tr>
		<?php 
include_once "../conn/conn.php";
include_once "function.php";
$sql = mysql_query("select * from tb_bb order by createtime desc", $conn);
$info = mysql_fetch_array($sql);
if ($info == false) {
    echo "<div align=center>对不请,暂无版本信息!</div>";
} else {
    do {
        ?>
        
		
		<tr>
          <td height="22" bgcolor="#FFFFFF"><div align="center"><?php 
        echo unhtml($info[bbname]);
        ?>
</div></td>
        
          <td height="22" bgcolor="#FFFFFF"><div align="center"><?php 
        echo $info[createtime];
        ?>
</div></td>
          <td height="22" bgcolor="#FFFFFF"><div align="center"><a href="javascript:if(window.confirm('您确定删除该编程词典版本么?')==true){window.location.href='deletebb.php?id=<?php 
        echo $info[id];
        ?>
';}"><img src="images/del.gif" width="22" height="22" border="0"></a></div></td>
        </tr>
		
		<?php 
    } while ($info = mysql_fetch_array($sql));
예제 #24
0
    if ($total % $pagesize != 0) {
        $pagecount = intval($total / $pagesize) + 1;
    } else {
        $pagecount = $total / $pagesize;
    }
    if ($_GET[page] == "") {
        $page = 1;
    } else {
        $page = intval($_GET[page]);
    }
    $sql1 = mysql_query("select * from tb_leaveword  order by time desc limit " . ($page - 1) * $pagesize . ",{$pagesize} ", $conn);
    while ($info1 = mysql_fetch_array($sql1)) {
        ?>
        <tr> 
          <td height="20" bgcolor="#FFFFFF"><div align="left"><?php 
        echo unhtml($info1[title]);
        ?>
</div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center">
		  <?php 
        $sql2 = mysql_query("select name from tb_user where id='" . $info1[userid] . "'", $conn);
        $info2 = mysql_fetch_array($sql2);
        echo $info2[name];
        ?>
		  </div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center"><?php 
        echo $info1[time];
        ?>
</div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center"><a href="editleaveword.php?id=<?php 
        echo $info1[id];
예제 #25
0
<table width="750" height="174" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="35" align="center">&nbsp;</td>
    <td width="680" height="27" align="center"><strong>版权声明</strong></td>
    <td width="35" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td align="left" valign="middle">&nbsp;</td>
    <td height="90" align="left" valign="middle"><table width="100%" height="52" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#FFFFFF">
<?php 
if ($page) {
    $counter = file_get_contents("file/file.txt");
    //读取文本文件中的数据,返回一个字符串
    $length = strlen(unhtml($counter));
    //计算字符串的长度,替换特殊字符
    $page_count = ceil($length / 1050);
    //对字符串进行分页处理
    $c = msubstr($counter, 0, ($page - 1) * 1050);
    //通过自定义函数获取上一页中的数据
    $c1 = msubstr($counter, 0, $page * 1050);
    //通过自定义函数获取当前页中的数据
    echo substr($c1, strlen($c), strlen($c1) - strlen($c));
    //获取到当前页中要输出的数据
}
?>
    </td>
      </tr>
    </table></td>
    <td align="left" valign="middle">&nbsp;</td>
예제 #26
0
파일: softinfo.php 프로젝트: noikiy/web
echo $infoxs[click];
?>
&nbsp;次</td>
                </tr>
                <tr>
                  <td height="22" bgcolor="#FFFFFF"><div align="center">立即下载:</div></td>
                  <td height="22" bgcolor="#FFFFFF">&nbsp;<a href="downloadsoft.php?id=<?php 
echo $infoxs[id];
?>
"><img src="images/bg_14(5).jpg" border="0"/></a></td>
                </tr>
              </table>
              <br><table width="480" height="150" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
  <tr>
    <td bgcolor="#FFFFFF"><?php 
echo unhtml($infoxs[content]);
?>
</td>
  </tr>
</table>

<br>
</td>
              <td width="200" valign="top"><br><div align="center"><img src="images/bg_14(6).jpg" width="137" height="163" /></div><br><br>
                <div align="center"><strong><font color="#666666"><img src="images/menubar_left[1].gif" />&nbsp;软件说明</font></strong></div></td>
            </tr>
            
</table>


</td>
예제 #27
0
파일: shopping_dd.php 프로젝트: noikiy/web
                      <td height="18" colspan="4" bgcolor="#FFFFFF"><div align="center">暂无商品信息!</div></td>
                     </tr>
			<?php 
} else {
    $totalprice = 0;
    $gnum = 0;
    for ($i = 0; $i < count($array); $i++) {
        if ($array[$i] != "") {
            $sqldd = mysql_query("select * from tb_bccd where id='" . $array[$i] . "'", $conn);
            $infodd = mysql_fetch_array($sqldd);
            ?>
	 
					
					 <tr>
                      <td height="18" bgcolor="#FFFFFF">&nbsp;<?php 
            echo unhtml($infodd["bccdname"]);
            ?>
</td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><?php 
            echo number_format($infodd["price"], 2);
            ?>
</div></td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><?php 
            echo $arraynum[$i];
            ?>
</div></td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><?php 
            echo number_format($infodd["price"] * $arraynum[$i], 2);
            ?>
</div></td>
                    </tr>
예제 #28
0
            </tr>
			<?php 
} else {
    $totalprice = 0;
    for ($i = 0; $i < count($array); $i++) {
        if ($array[$i] != "") {
            $sqlcart = mysql_query("select * from tb_bccd where id='" . $array[$i] . "'", $conn);
            $infocart = mysql_fetch_array($sqlcart);
            ?>
            <tr>
			<form name="form<?php 
            echo $array[$i];
            ?>
" method="post" action="changegoodsnum.php">
              <td height="22" bgcolor="#FFFFFF">&nbsp;<?php 
            echo unhtml($infocart["bccdname"]);
            ?>
</td>
              <td height="22" bgcolor="#FFFFFF"><div align="center"><?php 
            echo number_format($infocart["price"], 2);
            ?>
</div></td>
              <td height="22" bgcolor="#FFFFFF"><div align="center"><input type="text" name="goodsnum" value="<?php 
            echo $arraynum["{$i}"];
            ?>
" class="inputcss" size="8" ><input type="hidden" name="id" value="<?php 
            echo $infocart["id"];
            ?>
" ></div></td>
              <td height="22" bgcolor="#FFFFFF"><div align="center"><a href="javascript:form<?php 
            echo $array[$i];