code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231 values | license stringclasses 13 values | size int64 1 2.01M |
|---|---|---|---|---|---|
img { border: 0;}
form,h1,h2,h3,h4,h5,h6,ul,ol{ margin: 0; padding:0;}
td {font-size: 9pt;line-height: 1.5;}
body {font-size: 9pt;line-height: 1.5;}
a:link { font-size: 9pt; color: #000000; text-decoration: underline }
a:visited{ font-size: 9pt; color: #000000; text-decoration: underline }
a:hover {font-size: 9pt;color: red}
.m1{border-left: 1px solid #DFDFDB; border-top: 1px solid #DFDFDB; border-bottom: 1px solid #808080}
.m2{border-left: 1px solid #DFDFDB; border-bottom: 1px solid #808080; border-top: 1px solid #DFDFDB;border-right: 1px solid #DFDFDB;}
.m3{border-left: 1px solid #DFDFDB; border-top: 1px solid #DFDFDB;border-right: 1px solid #DFDFDB;}
.article{FONT-SIZE: 10pt; LINE-HEIGHT: 160%;table-layout:fixed;word-break:break-all}
.bn{color:#FFFFFF;font-size:0.1pt;line-height:50%}
.contents{font-size:1pt;color:#F7F6F8}
.nb{border: 1px solid #000000;height:18px}
.coolbg {border-right: 2px solid #ACACAC; border-bottom: 2px solid #ACACAC; background-color: #E6E6E6}
.topline{background-color:#F1F5F4;border-bottom:1px solid #C9D1CC;height:20px}
/* 左边菜单项 */
.mmt{background-color:#EDF3DE; border-bottom:2px solid #C4CFB6;
border-left:1px solid #DBDFDD;border-right:1px solid #DBDFDD;border-top:1px solid #DBDFDD;
}
.mmt1{background-color:#CFE8B5;
border:1px solid #DBDFDD;
background-image:url('img/tbg2.gif')
}
.mmt1m{background-color:#CFE8B5; border-bottom:1px solid #C4CFB6;
border-left:1px solid #DBDFDD;border-right:1px solid #DBDFDD;border-top:1px solid #DBDFDD;
}
.mml{border-left:1px solid #DBDFDD}
.mmr{border-right:1px solid #DBDFDD}
.mma{border-left:1px solid #DBDFDD;border-right:1px solid #DBDFDD}
.mmb{border-left:1px solid #DBDFDD;border-right:1px solid #DBDFDD;
border-bottom:1px solid #DBDFDD;font-size:1px}
.mmbb{ border-bottom:1px solid #DBDFDD; }
/* 右边主框架 */
.mainbody{
border:1px solid #E1E7DA
}
.ittop{margin:0px;margin-right:3px;margin-top:2px;}
.option1{ background-color: #F3FBCE}
.option2{ background-color: #DEDEDE; }
.option3{ background-color: #FFFFFF; }
.spacetitle{
color:#0E83ED;
font-size:28px;
font-weight: bold;
}
.toplinespace{background-color:#FFFFFF;border-bottom:1px solid #C9D1CC;height:20px}
.gdt{
border-bottom:1px solid #999999; height:25px
}
.gdt2{
border-bottom:1px solid #999999; height:25px;padding-top:2px
} | zyyhong | trunk/jiaju001/news/member/templets/base.css | CSS | asf20 | 2,375 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>消费记录</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="50" cellspacing="1" style="margin-bottom:3px;margin-top:10px;">
<tr><td colspan="2" class="manage_company_right_title">
<ul><li>金币、积分兑换</li></ul>
</td></tr>
<tr><td align="left" style="text-indent:20px;" height="30px">您拥有的金币:<span style="color:red"><?php echo $member['money'] ?></span></td><td align="left">您拥有的积分:<span style="color:red"><?php echo $member['scores']; ?></span></td></tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="183" valign="top">
<table width="100%" border="0" cellpadding="6" cellspacing="1" bgcolor="#D9EDC0" style="line-height:30px; text-align:left;">
<tr bgcolor="E9FBC9" align="left">
<td bgcolor="#F0F8D6" style="text-indent:10px; font-weight:700; color:#355b00;">金币购买积分</td>
</tr>
<tr><td bgcolor="#ffffff" style="text-indent:20px; color:#999;">1个金币 可购买 <?php echo $cfg_money2score;?> 个积分</td></tr>
<tr><td bgcolor="#ffffff" height="30" style="text-indent:20px;">
<form name="money2score" action="money2score.php?action=buy" method="post">
请输入消费金币数: <input type="text" name="money" value="" class="jifenlabel" />
<input type="hidden" name="type" value="money2score" /><span style="color:red">金币</span>
<input type="submit" name="submit" value="提交" />
</form>
</td></tr></table>
<table width="100%" border="0" cellpadding="6" cellspacing="1" bgcolor="#D9EDC0" style="line-height:30px; text-align:left;">
<tr bgcolor="E9FBC9" align="left">
<td bgcolor="#F0F8D6" style="text-indent:10px; font-weight:700; color:#355b00;">积分兑换金币</td>
</tr>
<tr><td bgcolor="#ffffff" style="text-indent:20px; color:#999;"><?php echo $cfg_score2money;?> 个积分 可兑换 1个金币</td></tr>
<tr><td bgcolor="#ffffff" height="30" style="text-indent:20px;">
<form name="money2score" action="money2score.php?action=buy" method="post">
请输入兑换积分数: <input type="text" name="score" value="" class="jifenlabel" />
<input type="hidden" name="type" value="score2money" /> <span style="color:red">积分</span>
<input type="submit" name="submit" value="提交" />(必须为 <?php echo $cfg_score2money;?>的倍数 )
</form>
</td></tr></table>
<table width="100%" border="0" cellpadding="6" cellspacing="1" bgcolor="#D9EDC0" style="line-height:30px; text-align:left;">
<tr bgcolor="#E9FBC9" align="left">
<td bgcolor="#F0F8D6" colspan="5" style="text-indent:10px; font-weight:700; color:#355b00;">积分、金币兑换记录</td>
</tr>
<tr bgcolor="#ffffff" align="center">
<td>记录</td><td>类型</td><td>时间</td><td>积分</td><td>金币</td>
</tr>
<?php
foreach($logs as $k => $row){
?>
<tr bgcolor="#FFFFFF" align="center">
<td>
<?php echo $k+1;?>
</td>
<td> <?php echo $row['dbtype']?></td>
<td>
<?php echo $row['dbdateline'];?>
</td>
<td>
<?php echo $row['score']?>
</td>
<td>
<?php echo $row['money']?>
</td>
</tr>
<?php
}
?>
<tr bgcolor="#E9FBC9">
<td colspan="5" align="center" bgcolor="#F9FCEF">
<?php echo $dlist->GetPageList(7);?> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="24" valign="top"> </td>
</tr>
</table></td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/money2score.htm | HTML | asf20 | 4,891 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>企业空间管理中心</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<script src="<?php echo $cfg_member_dir;?>/jquery.js" language="javascript" type="text/javascript"></script>
<script language="javascript" type="text/ecmascript">
<!--
$(document).ready(function(){
$(".manage_company_title_bg").click(function(){
tbox = $(this).next(".manage_company_main_text");
tbox.css("display")=="block" ? tbox.hide() : tbox.show();
});
});
-->
</script>
</head>
<body>
<center>
<div id="container">
<!-- 头部开始 -->
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<!-- 中部开始 -->
<div id="manage_company_main">
<!-- 中部左边开始 -->
<?php include(dirname(__FILE__)."/commenu.php"); ?>
<!-- 中部右边开始 -->
<div id="manage_company_right">
<div id="manage_company_info">
<div class="manage_company_right_title">
<ul><li>会员中心信息统计:</li></ul>
</div>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#F0F9D0" style="margin-top:3px; text-align:center;" class="lineheight">
<tr bgcolor="#FFFFFF">
<td width="18%" style="height:30px;">空间使用:</td>
<td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="76%"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999" class="turnleft">
<tr>
<td bgcolor="#FFFFFF"> <table border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCC33" width="<?php echo $ddsize?>%">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
<td width="24%"> <?php echo $minfos['totaluse']."/".$cfg_mb_max; ?>
MB</td></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height:30px;">我的主页:</td>
<td colspan="3" class="turnleft"> <?php echo $myurl?> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height:30px;"><p>我的文章: </p>
</td>
<td width="32%"> <?php echo $minfos['c1']?></td>
<td width="17%" style="height:30px;">我的图集:</td>
<td width="33%"> <?php echo $minfos['c2']?></td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height:30px;">发表的其它信息:</td>
<td> <?php echo $minfos['c3']?></td>
<td style="height:30px;">我的留言:</td>
<td> <?php echo $minfos['guestbook']?></td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height:30px;">主页访问量:</td>
<td> <?php echo $minfos['spaceshow']?></td>
<td style="height:30px;">文档点击率:</td>
<td> <?php echo $minfos['pageshow']?></td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height:30px;">许可附件类型:</td>
<td colspan="3"> <?php echo str_replace("|",",",$cfg_mb_mediatype)?>(包含图片)</td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height:30px;">是否开启图集:</td>
<td> <?php echo $cfg_mb_album?></td>
<td style="height:30px;">附件大小限制:</td>
<td> <?php echo $cfg_mb_upload_size?>KB</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20" colspan="2"></td>
</tr>
<table cellpadding="0" cellspacing="0" height="20" ><tr><td></td></tr></table>
<table cellpadding="0" cellspacing="0" class="commember1">
<tr>
<td height="30" colspan="2" align="left" style="font-weight:700;"><?php echo $cfg_ml->GetSta($dsql)?></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" height="10" ><tr><td></td></tr></table>
<table cellpadding="0" cellspacing="0" class="commember2">
<tr>
<td width="15%" height="40">我要充值:</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" height="10" ><tr><td></td></tr></table>
<td width="85%" height="40" bgcolor="#F8F8F5"><table width="500" border="0" cellspacing="0" cellpadding="0" class="commember3">
<form name="formrank" action="check_card.php" method="post">
<tr>
<td width="100" align="right">充值密码:</td>
<td width="80" align="left"> <input name="cardid" type="text" id="cardid" size="18" class="comloginlaber" />
</td>
<td width="50" align="right">验证码:</td>
<td width="50" align="left"> <input name="vdcode" type="text" id="vdcode" size="8" class="comloginlaber1" />
</td>
<td width="40"><img src='../include/vdimgck.php' width='50' height='20'></td>
<td width="140"> <input type="submit" name="Submit2" value="提交" class="button01" />
</td>
</tr>
</form>
</table></td>
</tr>
<table cellpadding="0" cellspacing="0" height="10" ><tr><td></td></tr></table>
<table cellpadding="0" cellspacing="0" class="combuy">
<tr bgcolor="#FFFFFF" style="line-height:25px">
<td height="82" align="center"><img src="images/buy.gif" width="30" height="25"></td>
<td height="82"><a href="buy.php">购买充值卡或会员升级请从这里进>></a></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" height="40" ><tr><td></td></tr></table>
<div class="clear">
</div>
</div>
</div>
</div>
<div class="clear">
</div>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/comfoot.htm");
?>
</div>
</div>
</center>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/comuser.htm | HTML | asf20 | 7,070 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>发布分类信息</title>
<link href="base.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language='javascript' src='main.js'></script>
<script language="javascript">
<!--
<?php
echo $areacache;
echo $sectorcache;
?>
function checkSubmit()
{
if(document.form1.title.value==""){
alert("标题不能为空!");
document.form1.title.focus();
return false;
}
}
-->
</script>
<script language='javascript' src='../include/common.js'></script>
</head>
<body>
<form name="form1" action="cominfoadd.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="step" value="2">
<input type="hidden" name="typeid" value="<?php echo $typeid?>">
<br><br>
选择小分类:<select name="smalltypeid">
<option value="0">-不限-</option>
<?php echo $smalltypes;?>
</select>
<br><br>
选择地区:
<select name="areaid" id="areaid" onChange="javascript:selNext(this.document.form1.areaid2,this.value,'subareas')">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__area where reid=0");
$dsql->Execute();
while($area = $dsql->GetArray())
{
echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n";
}
?>
</select>
<select name="areaid2" id="areaid2">
<option value="0">--不限--</option>
</select>
<br><br>
选择行业:
<select name="sectorid" id="sectorid" onChange="javascript:selNext(this.document.form1.sectorid2,this.value,'subsectors')">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__sectors where reid=0");
$dsql->Execute();
while($sector = $dsql->GetArray())
{
echo "<option value='".$sector['id']."'>".$sector['name']."</option>\r\n";
}
?>
</select>
<select name="sectorid2" id="sectorid2">
<option value="0">--不限--</option>
</select>
<br><br>
文章排序:
<select name="sortup" id="sortup" style="width:150">
<option value="0" selected>默认排序</option>
<option value="7">置顶一周</option>
<option value="30">置顶一个月</option>
<option value="90">置顶三个月</option>
<option value="180">置顶半年</option>
<option value="360">置顶一年</option>
</select>
<br><br>
发布时间:
<?php
$nowtime = GetDateTimeMk(mytime());
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200\">";
?>
<br><br>
有效期:<input type=text name=endtime value="" />天
<br><br>
标题:<input type=text name=title value="" /><br>
<input name="iscommend" type="checkbox" id="iscommend" value="11" class="np">
推荐
<input name="isbold" type="checkbox" id="isbold" value="5" class="np">
加粗
<br>
自定义属性:
<select name='arcatt' style='width:150'>
<option value='0'>普通文档</option>
<?php
$dsql->SetQuery("Select * From #@__arcatt order by att asc");
$dsql->Execute();
while($trow = $dsql->GetObject())
{
echo "<option value='{$trow->att}'>{$trow->attname}(att={$trow->att})</option>";
}
?>
</select>
<br>
缩略图:
<table id="pictable" width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="28" align="center" bgcolor="#FFFFFF">缩略图:</td>
<td bgcolor="#FFFFFF">
<input name="litpic" type="file" id="litpic" style="width:300" onChange="SeePic($Obj('picview'),$Obj('litpic'),$Obj('picarea'));"></td>
</tr>
<tr id="picarea" style="display:none">
<td colspan="2" align="center" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="18%" height="110"> </td>
<td width="82%"><img src="img/pview.gif" id="picview" width="150" height="120"></td>
</tr>
</table> </td>
</tr>
</table>
<br>
关键词:<input type=text name=keywords value="" />
<br><br>
文章摘要:
<textarea name="description" rows="3" id="description" style="width:200"></textarea>
<br><br>
联系人:<input type=text name=contact value="" />
<br><br>
电话:<input type=text name=phone value="" />
<br><br>
传真:<input type=text name=fax value="" />
<br><br>
email:<input type=text name=email value="" />
<br><br>
qq:<input type=text name=qq value="" />
<br><br>
msn:<input type=text name=msn value="" />
<br><br>
地址:<input type=text name=address value="" />
<br><br>
内容:
<input name="remote" type="checkbox" class="np" id="remote" value="1" checked>
下载远程图片和资源
<input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" checked>
提取第一个图片为缩略图
<?php
GetEditor("body",'',450,"MemberLit");
?>
<input name="imageField" type="image" src="img/button_ok.gif" width="60" height="22" border="0">
<img src="img/button_reset.gif" width="60" height="22" border="0" onClick="location.reload();" style="cursor:hand">
</form>
<?php
$dsql->Close();
?>
</body>
</html> | zyyhong | trunk/jiaju001/news/member/templets/cominfoadd.htm | HTML | asf20 | 5,352 |
<?php
if(empty($action))
{
?>
<!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="Content-Type" content="text/html;charset=utf-8" />
<title>修改公司资料</title>
<link href="company_style.css" rel="stylesheet" type="text/css" />
<script language="javascript"><?php echo $sectorcache; echo $areacache;?></script>
<script language='javascript' src='../include/common.js'></script>
<script language="javascript">
<!--
function checkSubmit()
{
if(document.form2.sectorchange.checked){
if (!confirm("您选择了更改公司的主营行业,确定吗?")) return false;
}
}
-->
</script>
</head>
<body>
<center>
<div id="container">
<!-- 头部开始 -->
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<!-- 中部开始 -->
<div id="manage_company_main">
<div class="clear">
</div>
<!-- 中部左边开始 -->
<?php include(dirname(__FILE__)."/commenu.php");?>
<!-- 中部右边开始 -->
<div id="manage_company_right">
<div class="clear">
</div>
<form name="form2" action="mycominfo.php" method="post" onsubmit="return checksubmit();">
<div id="manage_company_info">
<div class="manage_company_info_title_bg">
<input type="hidden" name="action" value="editcominfo" />
<input type="hidden" name="oldemail" value="<?php echo $cominfo['email']; ?>" />
<ul><li>公司简介</li></ul>
</div>
<div class="manage_company_info_text">提示:带 <span>*</span> 为必填项</div>
<table width="98%" border="0">
<tr>
<td width="90" align="left"><span class="manage_company_info_text">公司名称:</span></td>
<td align="left"><span class="manage_company_info_text">
<input type="text" name="comname" value="<?php echo $cominfo['comname']; ?>" class="company_manage_form_label" />
<span>*</span></span></td>
<td width="90" align="left"><span class="manage_company_info_text">成立时间:</span></td>
<td width="200" align="left"><span class="manage_company_info_text">
<input type="text" size=4 maxlength=4 name="regyear" value="<?php echo $cominfo['regyear']; ?>"class="company_manage_form_label" />
<span>*</span></span></td>
</tr>
<tr>
<td width="90" align="left"><span class="manage_company_info_text">注册地:</span></td>
<td align="left"><span class="manage_company_info_text"> <?php echo $areaidname; ?> - <?php echo $areaid2name; ?></span></td>
<td width="90" align="left"><span class="manage_company_info_text">
<input type="checkbox" name="areachange" onclick="javascript:showonobj('area',this.name)" />
更改</span></td>
<td width="200" align="left"><input type="hidden" name="oldareaid" value="<?php echo $cominfo[areaid]; ?>" />
<input type="hidden" name="oldareaid2" value="<?php echo $cominfo[areaid2]; ?>" />
<div id="area" style="display:none;">
<select name="areaid" id="areaid" onchange="javascript:selNext(this.document.form2.areaid2,this.value,'subareas')" >
<option value="0">--不限--</option>
<?php
$db->SetQuery("Select * From #@__area where reid=0");
$db->Execute();
while($area = $db->GetArray())
{
echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n";
}
?>
</select>
<select name="areaid2" id="areaid2">
<option value="0">--不限--</option>
</select>
</div></td>
</tr>
<tr>
<td width="90" align="left"><span class="manage_company_info_text">主营行业:</span></td>
<td align="left"><span class="manage_company_info_text"><?php echo $typeid1name; ?> - <?php echo $typeid2name; ?> </span></td>
<td width="90" align="left"><span class="manage_company_info_text">
<input type="checkbox" name="sectorchange" onclick="javascript:showonobj('sector','sectorchange')" />
更改</span></td>
<td width="200" align="left"><input type="hidden" name="oldtypeid1" value="<?php echo $cominfo[typeid1]; ?>" />
<input type="hidden" name="oldtypeid2" value="<?php echo $cominfo[typeid2]; ?>" />
<div id="sector" style="display:none;">
<select name="typeid1" id="typeid1" onchange="javascript:selNext(this.document.form2.typeid2,this.value,'subsectors')" >
<option value="0">--不限--</option>
<?php
$db->SetQuery("Select * From #@__sectors where reid=0");
$db->Execute();
while($cominfoa = $db->GetArray())
{
if($cominfo['province']==$cominfoa['id'])
{
echo "<option value='".$cominfoa['id']."' selected>".$cominfoa['name']."</option>\r\n";
}else
{
echo "<option value='".$cominfoa['id']."'>".$cominfoa['name']."</option>\r\n";
}
}
?>
</select>
<select name="typeid2" id="typeid2">
<option value="0">--不限--</option>
</select>
</div></td>
</tr>
<tr>
<td width="90" align="left"><span class="manage_company_info_text">产品或服务:</span></td>
<td colspan="3" align="left"><span class="manage_company_info_text">
<input type="text" name="service" value="<?php echo $cominfo['service']; ?>" class="company_manage_form_label" />
<span></span>(多个产品或服务以“|”分割)</span></td>
</tr>
</table>
<div class="manage_company_info_text">公司简介:</div> <table width="98%" border="0"><tr><td><?php
GetEditor("cominfo",$cominfo['cominfo'],250,"MemberLit");
?></td></tr></table>
<div class="manage_company_info_text">联系方式:</div>
<table width="98%" border="0">
<tr>
<td width="90" align="left"><span class="manage_company_info_text">姓 名:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="30" size=30 name="truename" value="<?php echo $cominfo['truename']; ?>" class="company_manage_form_label" />
</span></td>
<td width="90" align="left"><span class="manage_company_info_text">部门和职务:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="business" value="<?php echo $cominfo['business']; ?>" class="company_manage_form_label" />
</span></td>
</tr>
<tr>
<td width="90" align="left"><span class="manage_company_info_text">公司电话:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="phone" value="<?php echo $cominfo['phone']; ?>" class="company_manage_form_label" />
</span></td>
<td width="90" align="left"><span class="manage_company_info_text">传 真:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="fax" value="<?php echo $cominfo['fax']; ?>" class="company_manage_form_label" />
</span></td>
</tr>
<tr>
<td width="90" align="left"><span class="manage_company_info_text">手 机:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="mobi" value="<?php echo $cominfo['mobi']; ?>" class="company_manage_form_label" />
</span></td>
<td width="90" align="left"><span class="manage_company_info_text">公司地址:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="comaddr" value="<?php echo $cominfo['comaddr']; ?>" class="company_manage_form_label" />
</span></td>
</tr>
<tr>
<td width="90" align="left"><span class="manage_company_info_text">邮政编码:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="postid" value="<?php echo $cominfo['postid']; ?>" class="company_manage_form_label" />
</span></td>
<td width="90" align="left"><span class="manage_company_info_text">Email:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="email" value="<?php echo $cominfo['email']; ?>" class="company_manage_form_label" />
</span></td>
</tr>
<tr>
<td width="90" align="left"><span class="manage_company_info_text">公司网址:</span></td>
<td align="left"><span class="manage_company_info_text">
<input maxlength="32" size=30 name="website" value="<?php echo $cominfo['website']; ?>" class="company_manage_form_label" />
</span></td>
<td width="90" align="left"><span class="manage_company_info_text">验证码:</span></td>
<td align="left"><span class="manage_company_info_text">
<input name="vdcode" type="text" id="vdcode" size="10" />
<img src='../include/vdimgck.php' width='50' height='20' /> </span></td>
</tr>
<tr>
<td colspan="4" align="center"><span class="br">
<input type="submit" name="Submit2" value="确定修改" class="button" />
</span></td>
</tr>
</table>
</div>
</form>
</div>
<div class="clear">
</div>
</div>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</center>
</body>
</html>
<?php
}elseif($action == 'culture')
{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>修改公司资料</title>
<link href="company_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<div id="container">
<!-- 头部开始 -->
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<!-- 中部开始 -->
<div id="manage_company_main">
<!-- 中部左边开始 -->
<?php include(dirname(__FILE__)."/commenu.php");?>
<!-- 中部右边开始 -->
<div id="manage_company_right">
<div class="clear">
</div>
<div id="manage_company_info">
<div class="manage_company_info_title_bg">
<ul><li>企业文化修改:*</li></ul>
</div>
<div class="manage_company_info_text">提示:带 <span>*</span> 为必填项</div>
<form action="mycominfo.php" name="form1" method="post">
<input type=hidden name=step value=2 />
<input type=hidden name=action value=culture />
<?php
GetEditor("culture",$cominfo['culture'],450,"MemberLit");
?>
<br /><br />
<input type="submit" name="Submit2" value="确定修改" class="button" />
</form>
<div class="clear">
</div>
</div>
<div class="clear">
</div>
</div>
<div class="clear">
</div>
</div>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</center>
</body>
</html>
<?php
}
?>
| zyyhong | trunk/jiaju001/news/member/templets/mycominfo.htm | HTML | asf20 | 11,869 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<title>会员登录</title>
</head>
<body>
<div id="container">
<!--头部开始-->
<div id="login_header">
<div class="login_topbg">
<div class="login_topleft">
</div>
<div class="login_topmiddle">
<div class="login_topmiddle_left">
</div>
<div class="login_topmiddle_right">
</div>
</div>
<div class="login_topright">
</div>
<div class="clear">
</div>
</div>
</div>
<!--头部结束-->
<!--中间开始-->
<div id="login_main">
<div class="login_main_border">
<div class="login_main_white">
</div>
<div class="login_main_title">
</div>
<div class="login_main_text">
<div class="login_main_foum">
<form name='form1' method='POST' action='index_do.php'>
<input type="hidden" name="fmdo" value="login">
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
<div class="login_main_text_label">用户名:<input name="userid" type="text" class="login_label" />
</div>
<div class="login_main_text_label">登录密码:<input name="pwd" type="password" class="login_label" />
</div>
<div class="login_main_text_label">验证码:<input name="vdcode" type="text" class="login_label1" />
</div>
<div class="login_main_text_label1"><img src="../include/vdimgck.php" />
</div>
<div class="login_main_text_label2"><input type="submit" name="Submit2" value="登录" class="login_button01" />
</div>
<div class="login_main_text_label1"><a href="index_do.php?fmdo=user&dopost=regnew">注册新会员</a>
</div>
<div class="clear">
</div></form>
</div>
<div class="login_notice"><span>取回密码:</span>(验证码填写会员登录所显示的图片上的字母)
</div>
<div class="login_main_foum1">
<form name='form2' action="index_do.php">
<input type="hidden" name="fmdo" value="login">
<input type="hidden" name="dopost" value="getpwd">
<div class="login_main_text_label">我忘记了我的密码,请输入你的Email:<input name="email" type="text" class="login_label2" />
</div>
<div class="login_main_text_label">验证码:<input name="vdcode" type="text" class="login_label1" />
</div>
<div class="login_main_text_label1"><img src="../include/vdimgck.php" />
</div>
<div class="login_main_text_label2"><input type="submit" name="Submit2" value="取回密码" class="login_button" />
</div>
<div class="clear">
</div></form>
</div>
</div>
<div class="login_main_bottom">
</div>
<div class="clear">
</div>
</div>
</div>
<!--中间结束-->
<!--底部开始-->
<div id="login_footer"><?php echo $cfg_powerby?>
</div>
<!--底部结束-->
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/login.htm | HTML | asf20 | 3,868 |
<!-- 头部开始 -->
<div id="manage_company_header">
<div id="manage_company_top">
<div class="manage_company_logo">
</div>
<div class="manage_company_welcome"><span class="manage_company_welcome_green">
<?php echo $cfg_ml->M_UserName?></span> 你好,欢迎登录会员中心。<?php if($cfg_ml->M_Newpm > 0){ ?> <b>新消息</b>(<a href="pm.php?folder=inbox"><font color="red"><?php echo $cfg_ml->M_Newpm;?></a></font>) <?php }?>
</div>
<div class="clear"></div>
</div>
<div id="manage_company_menubg">
<div id="manage_company_menu">
<div class="manage_company_topimg">
</div>
<div class="manage_company_text">
<ul>
<li><a href="index.php">中心主页</a></li>
<?php if($cfg_ml->M_utype==1){ ?>
<li><a href="index.php?uid=<?php echo $cfg_ml->M_LoginID?>">企业空间</a></li>
<?php }else{ ?>
<li><a href="index.php?uid=<?php echo $cfg_ml->M_LoginID?>">个人空间</a></li>
<?php } ?>
<li><a href="../company/">搜索企业</a></li>
<li><a href="index_do.php?fmdo=login&dopost=exit">退出登录</a></li>
<li><a href="<?php echo $cfg_indexurl?>">网站主页</a></li>
<?php
if($cfg_pp_isopen==1 && $cfg_pp_indexurl!=''){
echo " <li><a href='{$cfg_pp_indexurl}' target='_blank'>{$cfg_pp_name}</a></li>\n";
}
?>
</ul>
</div>
</div>
</div>
</div>
<div class="clear">
</div>
<?php
if($cfg_ml->M_Newpm > 0){
?>
<div style="display:none;">
<script type="text/javascript">
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="0" height="0">');
document.write('<param name="movie" value="newpm.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<embed src="newpm.swf" wmode="opaque" menu="false" quality="high" width="0" height="0" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
</script>
</div>
<?php } ?> | zyyhong | trunk/jiaju001/news/member/templets/comhead.htm | HTML | asf20 | 2,657 |
<!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='Content-Type' content='text/html; charset=utf-8'>
<title>我的留言本</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<style>
.napisdiv {left:10;top:0;width:150;height:100;position:absolute;z-index:3}
</style>
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language='javascript' src='main.js'></script>
<script language="JavaScript">
var pageno = 1;
var totalrow = <?php echo $totalRow?>;
var pagesize = <?php echo $pagesize?>;
var orderby = '<?php echo $orderby?>';
var selitem = 0;
//加载列表
function ReloadPage(ordertype){
orderby = ordertype;
var listArea = $Obj('rslist');
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在加载...");
myajax.SendGet("guestbook_admin.php?dopost=getlist&pageno="+pageno+"&orderby="+ordertype);
}
//载入指定页的列表
function LoadPage(npage){
pageno = npage;
ReloadPage(orderby);
ReloadPageNum(pageno);
}
//删除留言
function DelNote(nid){
if(!window.confirm('你确定要删除这则留言吗?')){
return false;
}
var listArea = $Obj('rslist');
totalrow = totalrow - 1;
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("guestbook_admin.php?dopost=del&aid="+nid+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//获得选中文项的ID
function getCheckboxItem()
{
var allSel="";
selitem = 0;
if(document.form1.ids.value){
selitem++;
return document.form1.ids.value;
}
for(i=0;i<document.form1.ids.length;i++){
if(document.form1.ids[i].checked){
if(allSel=="") allSel=document.form1.ids[i].value;
else allSel=allSel+","+document.form1.ids[i].value;
selitem++;
}
}
return allSel;
}
//批量删除留言
function DelNotes(){
var listArea = $Obj('rslist');
var aids = getCheckboxItem();
if(selitem==0){
alert("你没选中任何内容!");
return false;
}
if(!window.confirm('你确定要删除这些留言吗?')){
return false;
}
totalrow = totalrow - selitem;
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("guestbook_admin.php?dopost=del&ids="+aids+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//重新加载分页列表
function ReloadPageNum(startnum){
var ListArea = $Obj('pagelist');
var pagenum = Math.ceil(totalrow/pagesize);
var listsize = 3;
var ahtml = "";
var startloop = 1;
var endnum = 0;
ahtml += "共:"+totalrow+" 条记录/"+pagenum+"页 ";
if(pageno>1) ahtml += "<a href='#' onclick='LoadPage("+(pageno-1)+")'>↑上页</a> ";
if(startnum >= pagenum-listsize){
startloop = pagenum-(listsize*2);
if(startloop<1) startloop = 1;
for(i=startloop;i<=pagenum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
else if(pagenum < listsize){
for(i=1;i<=pagenum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
else{
startloop = startnum-listsize;
if(startloop<1){ startloop=1; endnum = startloop + (listsize*2); }
else{ endnum = startnum+listsize; }
if(endnum >= pagenum) endnum = pagenum;
for(i=startloop;i<=endnum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
if(pageno<pagenum) ahtml += "<a href='#' onclick='LoadPage("+(pageno+1)+")'>下页↓</a> ";
ListArea.innerHTML = ahtml;
}
</script>
</head>
<body leftmargin='0' topmargin='0'>
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" style="margin-bottom:3px;margin-top:10px;">
<tr align="right" bgcolor="#ffffff">
<td height="25" colspan="6" background="img/nnnbg.gif" class="gdt">
<table width='100%' align="center" cellpadding='0' cellspacing='0' style="text-align:left;background:url(images/right_titlebg.gif) repeat-x;">
<tr>
<td width='30%' height="30" style="font-weight:700; color:#355b00; text-indent:20px;">我的留言本:</td>
<td align='right' style="padding-right:20px;">
<input type="button" name="Submit" value="删除选中项" class="coolbg" onClick="DelNotes()">
</td>
</tr>
</table></td>
</tr>
</table>
<form name="form1">
<span id='rslist'"><?php GetList($dsql,$pageno,$pagesize,'aid'); ?></span>
</form>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D9EDC0" >
<tr height="24">
<td height="32" bgcolor="#F9FCEF" align="center">
<span id='pagelist'></span>
<script language='javascript'>
ReloadPageNum(1);
</script>
</td>
</tr>
</table></td>
</tr>
</table>
<?php include(dirname(__FILE__)."/foot.htm"); ?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/guestbook_admin.htm | HTML | asf20 | 6,110 |
<!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="Content-Type" content="text/html;charset=utf-8">
<title>友情链接管理</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<script language='javascript'src='main.js'></script>
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language="javascript">
<!--
//增加链接
function AddnewLink(){
var taget_obj = $Obj('linkList');
var linktype,getquery;
if($Obj('linktype1').checked) linktype = 1;
else linktype = 2;
getquery = "&linktype="+linktype;
if($Obj('title').value==''){
alert('链接标题不能为空!');
return false;
}
getquery += "&title="+$Obj('title').value;
if($Obj('url').value==''){
alert('链接网址不能为空!');
return false;
}
getquery += "&url="+$Obj('url').value;
if(linktype==2){
if($Obj('imgurl').value==''){
alert('你选择的是图片链接,因此图片网址不能为空!');
return false;
}
}
getquery += "&imgurl="+$Obj('imgurl').value+"&imgwidth="+$Obj('imgwidth').value+"&imgheight="+$Obj('imgheight').value;
var errMsg = "网络通信出错!<br>[<a href='javascript:ReLoadList(0)'><u>重新加载列表</u></a>]";
var myajax = new DedeAjax(taget_obj,true,true,"",errMsg,"正在处理...");
myajax.SendGet("flink_main.php?dopost=addnew"+getquery);
}
//更新类目
function UpdateType(tid){
var taget_obj = $Obj('linkList');
var linktype,getquery;
if($Obj('linktype'+tid+'1').checked) linktype = 1;
else linktype = 2;
getquery = "&linktype="+linktype;
if($Obj('title'+tid).value==''){
alert('链接标题不能为空!');
return false;
}
getquery += "&title="+$Obj('title'+tid).value;
if($Obj('url'+tid).value==''){
alert('链接网址不能为空!');
return false;
}
getquery += "&url="+$Obj('url'+tid).value;
if(linktype==2){
if($Obj('imgurl'+tid).value==''){
alert('你选择的是图片链接,因此图片网址不能为空!');
return false;
}
}
getquery += "&imgurl="+$Obj('imgurl'+tid).value+"&imgwidth="+$Obj('imgwidth'+tid).value+"&imgheight="+$Obj('imgheight'+tid).value;
var errMsg = "网络通信出错!<br>[<a href='javascript:ReLoadList(0)'><u>重新加载列表</u></a>]";
var myajax = new DedeAjax(taget_obj,true,true,"",errMsg,"正在处理...");
myajax.SendGet("flink_main.php?dopost=update&aid="+tid+getquery);
}
//删除链接
function DelType(tid){
var taget_obj = $Obj('linkList');
var titlename = $Obj('title'+tid).value;
if(!window.confirm('你确定要删除链接:'+titlename+' 吗?')){ return false; }
var errMsg = "网络通信出错!<br>[<a href='javascript:ReLoadList(0)'><u>重新加载类目列表</u></a>]";
var myajax = new DedeAjax(taget_obj,true,true,"",errMsg,"正在处理...");
myajax.SendGet("flink_main.php?dopost=del&aid="+tid);
}
//重载类目
function ReLoadList(oby){
var taget_obj = $Obj('typeList');
var errMsg = "网络通信出错!<br>[<a href='javascript:ReLoadList(0)'><u>重新加载类目列表</u></a>]";
var myajax = new DedeAjax(taget_obj,true,true,"",errMsg,"正在加载中...");
myajax.SendGet("flink_main.php?dopost=reload");
}
-->
</script>
<style type="text/css">
.cinput {height:18px;border:1px solid #888888}
</style>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="299" valign="top">
<?php include(dirname(__FILE__)."/menu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px;">
<tr>
<div class="manage_company_right_title" style="margin-top:10px;">
<ul><li>友情链接管理:</li></ul>
</div>
</tr>
</table>
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#D9EDC0" style="text-align:left; text-indent:10px; ">
<tr bgcolor="#F2F9E6">
<td height="30" colspan="2" style="padding-left:6px;">增加新的链接:</td>
</tr>
<tr>
<td width="20%" height="30" bgcolor="#FFFFFF" style="padding-left:6px;">链接名称:</td>
<td width="80%" height="30" bgcolor="#FFFFFF" style="padding-left:6px;line-height:30px;">
<input name="title" type="text" id="title" style="width:150px" class="company_manage_form_label">
网址:
<input name="url" type="text" id="url" style="width:150px" class="company_manage_form_label">
</td>
</tr>
<tr>
<td height="30" bgcolor="#FFFFFF" style="padding-left:6px;">链接类型:</td>
<td height="30" bgcolor="#FFFFFF" style="padding-left:6px;">
<input name="linktype" id="linktype1" type="radio" value="1" checked>
文字
<input type="radio" id="linktype2" name="linktype" value="2">
图片</td>
</tr>
<tr>
<td height="30" bgcolor="#FFFFFF" style="padding-left:6px;line-height:30px;">图片选项:</td>
<td height="30" bgcolor="#FFFFFF" style="padding-left:6px;">
地址:
<input name="imgurl" type="text" id="imgurl" style="width:120px" class="company_manage_form_label">
宽:
<input name="imgwidth" type="text" id="imgwidth" style="width:30px" value="88" class="cinput">
高:
<input name="imgheight" type="text" id="imgheight" style="width:30px" value="31" class="cinput">
<input type="button" name="bt" value="增加" style="width:50px" onClick="AddnewLink()">
</td>
</tr>
<tr bgcolor="#F2F9E6">
<td height="30" colspan="2" style="padding-left:6px;">已有链接管理: </td>
</tr>
<tr>
<td height="380" colspan="2" valign="top" bgcolor="#FFFFFF" style="padding-left:6px;padding-top:6px">
<span id="linkList"><?php GetLinkList($dsql); ?></span>
</td>
</tr>
</table> </td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/flink_main.htm | HTML | asf20 | 6,650 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>企业收藏夹</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/commenu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:3px; margin-top:10px;">
<tr>
<td background="img/nnnbg.gif" height="25" class="gdt2">
<div class="manage_company_right_title">
<ul><li>我的收藏夹:</li></ul>
</div>
</td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="183" valign="top"> <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="E9FBC9">
<td width="47%" align="center" bgcolor="#F0F8D6" height="30">档案标题</td>
<td width="31%" align="center" bgcolor="#F0F8D6">收藏时间</td>
<td width="22%" align="center" bgcolor="#F0F8D6">管理</td>
</tr>
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
if($row['url'] == ''){
$row['url'] = $cfg_cmspath.'/plus/view.php?aid='.$row['aid'];
}
?>
<tr bgcolor="#FFFFFF" align="center">
<td> <a href='<?php echo $row["url"]?>' target='_blank'>
<?php echo $row["title"]?>
</a> </td>
<td>
<?php echo GetDateTimeMk($row['addtime'])?>
</td>
<td><a href='archives_do.php?dopost=delStow&aid=<?php echo $row["aid"]?>' target='_blank'>[删除该项]</a></td>
</tr>
<?php
}
?>
<tr bgcolor="E9FBC9">
<td colspan="3" align="center" bgcolor="#F9FCEF" style="line-height:25px;">
<?php echo $dlist->GetPageList(7);?> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="24" valign="top"> </td>
</tr>
</table></td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/comstow.htm | HTML | asf20 | 2,681 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>历史订单管理</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:5px;">
<tr>
<div class="manage_company_right_title" style="margin-top:10px;">
<ul><li>历史订单管理:</li></ul>
</div>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="183" valign="top"> <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="E9FBC9" align="center" height='24'>
<td width="25%" bgcolor="#F0F8D6">订单号</td>
<td width="20%" bgcolor="#F0F8D6">产品</td>
<td width="15%" bgcolor="#F0F8D6">时间</td>
<td width="10%" bgcolor="#F0F8D6">状态</td>
<td width="30%" bgcolor="#F0F8D6">系统信息</td>
</tr>
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
<tr bgcolor="#FFFFFF" align="center" height='24'>
<td>
<?php echo $row['buyid']?>
</td>
<td>
<?php echo $row['pname']?>
</td>
<td>
<?php echo GetDateMk($row['mtime'])?>
</td>
<td>
<?php echo GetSta($row['sta'])?>
</td>
<td>
<?php echo $row['oldinfo']?>
</td>
</tr>
<?php
}
?>
<tr bgcolor="E9FBC9" height='24'>
<td colspan="5" align="center" bgcolor="#F9FCEF">
<?php echo $dlist->GetPageList(7);?> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="24" valign="top"> </td>
</tr>
</table></td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/my_operation.htm | HTML | asf20 | 2,879 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>发布图集</title>
<link href="newskin.css" rel="stylesheet" type="text/css">
<link href="company_style.css" rel="stylesheet" type="text/css">
<script language='javascript' src='main.js'></script>
<script language="javascript">
<!--
function checkSubmit()
{
if(document.form1.title.value==""){
alert("图集标题不能为空!");
document.form1.title.focus();
return false;
}
if(document.form1.typeid.value==0){
alert("图集隶属栏目必须选择!");
return false;
}
if(document.form1.vdcode.value==""){
document.form1.vdcode.focus();
alert("验证码不能为空!");
return false;
}
}
var startNum = 1;
function MakeUpload(mnum)
{
var endNum = 0;
var upfield = document.getElementById("uploadfield");
var pnumObj = document.getElementById("picnum");
var fhtml = "";
if(mnum==0) endNum = startNum + Number(pnumObj.value);
else endNum = mnum;
if(endNum>120) endNum = 120;
for(startNum;startNum < endNum;startNum++){
fhtml = "";
fhtml += "<table width='580' align=\"center\"><tr><td><input type='checkbox' name='isokcheck"+startNum+"' id='isokcheck"+startNum+"' value='1' class='np' onClick='CheckSelTable("+startNum+")'>显示/隐藏图片["+startNum+"]的选框</td></tr></table>";
fhtml += "<table width=\"580\" border=\"0\" id=\"seltb"+startNum+"\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#E8F5D6\" style=\"margin-bottom:6px;\" align=\"center\"><tobdy>";
fhtml += "<tr bgcolor=\"#F4F9DD\">\r\n";
fhtml += "<td height=\"25\" colspan=\"2\"> <strong>图片"+startNum+":</strong></td>";
fhtml += "</tr>";
fhtml += "<tr bgcolor=\"#FFFFFF\"> ";
fhtml += "<td width=\"410\" height=\"25\"> 本地上传: ";
fhtml += "<?php if($cfg_mb_upload=='Y'){?><input type=\"file\" name='imgfile"+startNum+"' style=\"width:330px\" onChange=\"SeePic(document.picview"+startNum+",document.form1.imgfile"+startNum+");\"><?php }else{ echo "系统禁止了文件上传功能!";}?></td>";
fhtml += "<td width=\"164\" rowspan=\"3\" align=\"center\"><img src=\"img/pview.gif\" width=\"150\" id=\"picview"+startNum+"\" name=\"picview"+startNum+"\"></td>";
fhtml += "</tr>";
fhtml += "<tr bgcolor=\"#FFFFFF\"> ";
fhtml += "<td height=\"25\"> 指定网址: ";
fhtml += "<input type=\"text\" name='imgurl"+startNum+"' value='http://' style=\"width:260px\"> ";
fhtml += "</td></tr>";
fhtml += "<tr bgcolor=\"#FFFFFF\"> ";
fhtml += "<td height=\"56\"> 图片简介: ";
fhtml += "<textarea name='imgmsg"+startNum+"' style=\"height:46px;width:330px\"></textarea> </td>";
fhtml += "</tr></tobdy></table>\r\n";
upfield.innerHTML += fhtml;
}
}
function CheckSelTable(nnum){
var cbox = $Obj('isokcheck'+nnum);
var seltb = $Obj('seltb'+nnum);
if(cbox.checked) seltb.style.display = 'none';
else seltb.style.display = 'block';
}
-->
</script>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px;">
<tr>
<td>
<div class="manage_company_right_title">
<ul><li>发布新图集:</li></ul>
</div>
</td>
</tr>
<tr>
<form action="album_add_action.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="addArc">
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>">
<td height="183" valign="top" style="padding-top:3px">
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" align="left" bgcolor="#F0FBE3"><strong>◆常规参数:</strong></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">图集名称:</td>
<td align="left"><input name="title" type="text" id="title" size="30" style="width:240px" class="company_manage_form_label" />
<font color="#FF0000">*</font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">图片来源:</td>
<td align="left"><input name="source" type="text" id="source" style="width:160px" size="30" class="company_manage_form_label" />
作者:
<input name="writer" type="text" id="writer" size="15" style="width:120px" class="company_manage_form_label" value="<?php echo $cfg_ml->M_UserName?>" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">隶属栏目:</td>
<td align="left"><?php
$selname = '请选择...';
$delv = '0';
if(!empty($cid)){
$crow = $dsql->GetOne("Select ID,typename From #@__arctype where ID='$cid' ");
$selname = $crow['typename'];
$selv = $crow['ID'];
}
echo GetTypeidSelMember('form1','typeid','selbt1',$channelid,$selv,$selname,false);
?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">验证码:</td>
<td align="left"><table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84"><input name="vdcode" type="text" id="vdcode" size="10" style="width:80px" class="yanzhengma" /></td>
<td width="116"><img src='../include/vdimgck.php' width='50' height='20' /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">我的分类:</td>
<td align="left"><select name="mtype" id="mtype" style="width:200px">
<option value='0'>--请选择分类--</option>
<?php
$dsql->SetQuery("Select * From #@__member_arctype where memberid='".$cfg_ml->M_ID."' ;");
$dsql->Execute();
while($row = $dsql->GetObject()){
echo "<option value='".$row->aid."'>".$row->typename."</option>\r\n";
}
?>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">内容简介:</td>
<td align="left"><textarea name="description" id="description" style="width:80%;height:50px"></textarea></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">标签(TAG):</td>
<td align="left"><input name="keywords" type="text" id="keywords" style="width:50%;" value="" class="company_manage_form_label" />
(多个标签(TAG)用空格分开) </td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">缩略图:</td>
<td align="left"><input name="litpic" type="file" id="litpic" style="width:300px" onchange="SeePic($Obj('picview'),$Obj('litpic'),$Obj('picarea'));" class="company_manage_form_label" /></td>
</tr>
<tr id="picarea" style='display:none'>
<td height="28">预 览:</td>
<td align="left"><img src="img/pview.gif" id="picview" width="150" height="120" /></td>
</tr>
</table></td>
</tr>
<?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield'); ?>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="#F0FBE3">
<td height="24" colspan="4" align="left" bgcolor="#F0FBE3"> <strong>◆图集内容:</strong></td>
</tr>
<tr bgcolor="#F0FBE3">
<td width="100%" height="24" colspan="4" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0" style=" text-align:left; text-indent:10px; line-height:30px;">
<tr>
<td height="24">宽度限制:</td>
<td><input name="maxwidth" type="text" id="maxwidth" value="<?php echo $cfg_album_width?>" size="8" class="yanzhengma" />
像素(图片太大会撑坏版面美观,可以在此设定限制)</td>
</tr>
<tr>
<td width="19%" height="24"> 图片:</td>
<td width="81%"> <input name="picnum" type="text" id="picnum" size="8" value="5" class="yanzhengma" />
<input name='kkkup' type='button' id='kkkup2' value='增加上传框' onClick="MakeUpload(0);">
(注:最大60幅) </td>
</tr>
</table></td>
</tr>
<tr>
<td height="250" colspan="4" align="center" valign="top" bgcolor="#FFFFFF" style="text-align:left;">
<span id='uploadfield'></span>
<script language="JavaScript">
MakeUpload(4);
</script> </td>
</tr>
<tr bgcolor="#F7FDF0">
<td height="45" colspan="4" align="center"> <input name="imageField" type="image" src="img/button_save.gif" width="60" height="22" border="0">
<img src="img/button_reset.gif" width="60" height="22" style="cursor:hand" onClick="location.reload();">
</td>
</tr>
</table></td>
</form>
</tr>
<tr>
<td height="10"></td>
</tr>
</table> </td>
</tr>
</table>
<?php include(dirname(__FILE__)."/foot.htm"); ?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/album_add.htm | HTML | asf20 | 12,306 |
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>附件数据管理</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<style>
.napisdiv {left:10;top:0;width:150;height:100;position:absolute;z-index:3}
</style>
<script>
function $DE(eid){ return document.getElementById(eid); }
function ChangeImage(surl){ $DE('picview').src = surl; }
//获得选中文件的文件名
function getCheckboxItem(){
var allSel="";
if(document.form1.aids.value) return document.form1.aids.value;
for(i=0;i<document.form1.aids.length;i++)
{
if(document.form1.aids[i].checked){
if(allSel=="")
allSel=document.form1.aids[i].value;
else
allSel=allSel+","+document.form1.aids[i].value;
}
}
return allSel;
}
function AllSel(){
for(i=0;i<document.form1.aids.length;i++){
document.form1.aids[i].checked = true;
}
}
function NoneSel(){
for(i=0;i<document.form1.aids.length;i++){
document.form1.aids[i].checked = false;
}
}
function DelSel(){
var nid = getCheckboxItem();
if(nid==""){
alert("请选择项目!\r\n");
return ;
}
location.href = "archives_do.php?dopost=delUploads&ids="+nid;
}
</script>
</head>
<body leftmargin='0' topmargin='0'>
<div align="center">
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/commenu.php");?>
</td>
<td width="10"> </td>
<td align="top" valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:3px;margin-top:10px">
<tr align="right" bgcolor="#ffffff">
<div class="manage_company_right_title">
<ul><li>附件数据管理:</li></ul>
</div>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="#F9FCEF" height="24" align="center">
<td width="8%">选择</td>
<td width="28%">文件标题</td>
<td width="10%">文件大小</td>
<td width="15%">上传时间</td>
<td width="9%">文件类型</td>
<td width="15%">管理</td>
</tr>
<form name='form1'>
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
<tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
<td> <input type='checkbox' name='aids' id='aids<?php echo $row['aid']?>' value='<?php echo $row['aid']?>' class='np'/>
</td>
<td>
<a href='<?php echo $row['url']?>' target='_blank'><?php echo GetImageView($row['url'],$row['mediatype'])?><u><?php echo $row['title']?></u></a>
</td>
<td>
<?php echo GetFileSize($row['filesize'])?>
</td>
<td>
<?php echo strftime("%y-%m-%d %H:%M",$row['uptime'])?>
</td>
<td>
<?php echo MediaType($row['mediatype'],$row['url'])?>
</td>
<td> <a href='comupload_edit.php?aid=<?php echo $row['aid']?>&dopost=edit'>更改</a>
| <a href='archives_do.php?dopost=delUploads&aid=<?php echo $row['aid']?>'>删除</a>
</td>
</tr>
<?php
}
?>
<tr bgcolor="#F9FCEF" height="30">
<td colspan="6" bgcolor="#F9FCEF" height="30"> <input type="button" name="b4" value="全选" class="np2" style="width:40" onClick="AllSel();">
<input type="button" name="b5" value="取消" class="np2" style="width:40" onClick="NoneSel();">
<input type="button" name="b6" value="删除所选" class="np2" style="width:80" onClick="DelSel();"> </td>
</tr>
<tr bgcolor="#EEFAC9" height="24">
<td height="24" colspan="6" align="center">
<?php echo $dlist->GetPageList(7);?> </td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<?php include(dirname(__FILE__)."/foot.htm"); ?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/comupload.htm | HTML | asf20 | 4,404 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>空间管理中心</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php"); ?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="text-align:left; margin-top:10px;">
<tr>
<td width="100%" height="103" colspan="2"><img src="img/indbanner.jpg" width="580" height="100"></td>
</tr>
<tr>
<td height="140" colspan="2">
<form name='f1' action='buy_action.php' method='post'>
<input type='hidden' name='product' value='card'>
<table width="98%" border="0" cellpadding="3" cellspacing="0" style="margin-top:3px; margin-bottom:8px; border-bottom:1px solid #ababab; text-indent:10px;">
<tr bgcolor="#F2FCE0">
<div class="manage_company_right_title" style="margin-top:10px;">
<ul><li>会员产品种类与价格:</li></ul>
</div>
</tr>
</table>
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC" style="margin-bottom:8px">
<tr bgcolor="#F0FCDA">
<td height="30" colspan="4" style="font-weight:700; text-indent:10px;">充值卡:</td>
</tr>
<tr align="center" bgcolor="#F9FEE7">
<td width="12%" height="30">选择</td>
<td width="48%" height="30">产品名称</td>
<td width="20%" height="30">点数</td>
<td width="20%" height="30">价格</td>
</tr>
<?php echo $moneycards;?>
<tr align="center" bgcolor="#F0FCDA">
<td height="30" colspan="4">
<input name="imageField" type="image" src="img/buysb.gif" width="85" height="20" border="0" class="np">
</td>
</tr>
</table>
</form>
<form name='f2' action='buy_action.php' method='post'>
<input type='hidden' name='product' value='member'>
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC" style="margin-bottom:8px">
<tr bgcolor="#F0FCDA">
<td height="30" colspan="6" style="text-indent:10px;"><span style="font-weight:700;">会员升级:</span>(会员查看本等级的文档不扣金币,查看更高等级的文档才会扣金币)
</td>
</tr>
<tr align="center" bgcolor="#F9FEE7">
<td width="12%" height="30">选择</td>
<td width="35%" height="30" bgcolor="#F9FEE7">产品名称</td>
<td width="20%" height="30" bgcolor="#F9FEE7">会员类型</td>
<td width="12%" height="30">时限</td>
<td width="12%" height="30">金币</td>
<td width="12%" height="30">价格</td>
</tr>
<?php echo $membertypes?>
<tr align="center" bgcolor="#F0FCDA">
<td height="30" colspan="6">
<input name="imageField2" type="image" src="img/buysb.gif" width="85" height="20" border="0" class="np">
</td>
</tr>
</table>
</form>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table> </td>
</tr>
</table>
</td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/buy.htm | HTML | asf20 | 4,295 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>发布信息</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<script language="javascript">
<!--
<?php
echo $areacache;
echo $sectorcache;
?>
function checkSubmit()
{
if(document.form1.title.value==""){
alert("信息标题不能为空!");
document.form1.title.focus();
return false;
}
if(document.form1.typeid.value==0){
alert("信息隶属栏目必须选择!");
return false;
}
if(document.form1.vdcode.value==""){
document.form1.vdcode.focus();
alert("验证码不能为空!");
return false;
}
}
-->
</script>
<script language='javascript' src='../include/common.js'></script>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/commenu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="turnleft" style="margin-top:10px">
<tr>
<td background="img/nnnbg.gif" height="25" class="gdt2">
<font color="#333333">
<div class="manage_company_right_title">
<ul><li> 发布新信息:</li></ul>
</div>
</td>
</tr>
<tr>
<form name="form1" action="infoadd.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>">
<input type="hidden" name="typeid" value="<?php echo $typeid; ?>">
<input type="hidden" name="step" value="2">
<td height="183" valign="top" style="padding-top:3px">
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" bgcolor="#F0FBE3"><strong>◆常规参数:</strong></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">信息标题:</td>
<td><input name="title" type="text" id="title" size="30" style="width:60%" class="company_manage_form_label" />
<font color="#FF0000">*</font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">有效时间:</td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100"><input class="company_manage_form_option" name="endtime" type="text" id="endtime" value="15" style="width:50px" />
天 </td>
<td width="61">验证码:</td>
<td width="89"><input name="vdcode" style="width:80px" type="text" id="vdcode" size="10" class="yanzhengma" /></td>
<td width="150"><img src='../include/vdimgck.php' width='50' height='20' /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">小分类:</td>
<td><select name="smalltypeid" class="company_manage_form_option" style="width:100px">
<option value="0">-不限-</option>
<?php echo $smalltypes;?>
</select>
所属地区:
<select name="areaid" style="width:80px" id="areaid" onchange="javascript:selNext(this.document.form1.areaid2,this.value,'subareas')" class="company_manage_form_option">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__area where reid=0");
$dsql->Execute();
while($area = $dsql->GetArray())
{
echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n";
}
?>
</select>
<select name="areaid2" style="width:80px" id="areaid2" class="company_manage_form_option">
<option value="0" class="">--不限--</option>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">所属行业:</td>
<td>
<select name="sectorid" id="sectorid" style="width:120px" class="company_manage_form_option" onchange="javascript:selNext(this.document.form1.sectorid2,this.value,'subsectors')">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__sectors where reid=0");
$dsql->Execute();
while($sector = $dsql->GetArray())
{
echo "<option value='".$sector['id']."'>".$sector['name']."</option>\r\n";
}
?>
</select>
<select name="sectorid2" style="width:120px" class="company_manage_form_option" id="sectorid2">
<option value="0">--不限--</option>
</select>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">标签(TAG):</td>
<td><input name="keywords" type="text" id="keywords" style="width:50%;" value="" class="company_manage_form_label" />
(多个标签(TAG)用空格分开)</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">缩略图:</td>
<td><input name="litpic" type="file" id="litpic" style="width:300px" onchange="SeePic($Obj('picview'),$Obj('litpic'),$Obj('picarea'));" class="company_manage_form_label" /></td>
</tr>
<tr id="picarea" style='display:none'>
<td height="28">预 览:</td>
<td><img src="img/pview.gif" id="picview" width="150" height="120" /></td>
</tr>
</table></td>
</tr>
<?php PrintAutoFieldsAdd($typeinfo['fieldset'],'autofield'); ?>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" bgcolor="#F0FBE3"><strong>◆具体内容:</strong></td>
</tr>
<tr>
<td height="150"><?php GetEditor("body",'',250,"MemberLit");?></td>
</tr>
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="border-top:1px dotted #dedede;">
<tr>
<td height="24" colspan="4" align="left" bgcolor="#F0FBE3" > <strong>◆联系方式:</strong></td>
</tr>
<tr>
<td width="65" height="36" align="center" >联系人:</td>
<td width="250" height="25" align="left"><input type="text" name="contact" value="<?php if(isset($cominfo['truename'])) echo $cominfo['truename'];?>" class="company_manage_form_label" /></td>
<td width="66" height="25" align="center">电话:</td>
<td width="261" height="25"><input type="text" name="phone" value="<?php if(isset($cominfo['phone'])) echo $cominfo['phone'];?>" class="company_manage_form_label" /></td>
</tr>
<tr>
<td width="65" height="36" align="center">传真:</td>
<td height="25"><input type="text" name="fax" value="<?php if(isset($cominfo['fax'])) echo $cominfo['fax'];?>" class="company_manage_form_label" /></td>
<td width="66" height="25" align="center">email:</td>
<td height="25"><input type="text" name="email" value="<?php if(isset($cominfo['email'])) echo $cominfo['email'];?>" class="company_manage_form_label" /></td>
</tr>
<tr>
<td width="65" height="36" align="center">qq:</td>
<td height="25"><input type="text" name="qq" value="<?php if(isset($cominfo['oicq'])) echo $cominfo['oicq'];?>" class="company_manage_form_label" /></td>
<td width="66" height="25" align="center">msn:</td>
<td height="25"><input type="text" name="msn" value="<?php if(isset($cominfo['msn'])) echo $cominfo['msn'];?>" class="company_manage_form_label" /></td>
</tr>
<tr>
<td width="65" height="36" align="center">地址:</td>
<td height="25" colspan="3">
<input type="text" name="address" style="width:450px" value="<?php if(isset($cominfo['comaddr'])) echo $cominfo['comaddr'];?>" class="company_manage_form_label" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="#F7FDF0">
<td width="400%" height="45" colspan="4" align="center"> <input name="imageField" type="image" src="img/button_save.gif" width="60" height="22" border="0">
<img src="img/button_reset.gif" width="60" height="22" style="cursor:hand" onClick="location.reload();"> </td>
</tr>
</table></td>
</form>
</tr>
<tr>
<td height="10"></td>
</tr>
</table> </td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/infoadd.htm | HTML | asf20 | 10,997 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>空间聚集</title>
<link href="css/style-index.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../include/dedeajax2.js"></script>
<script type="text/javascript">
function SetSubmit()
{
var _keyword = document.getElementById("keyword");
var _tpye = document.getElementById("searchtype");
if(_tpye.value=="info"){ _keyword.name = "q"; document.Searchpools.action = "../plus/infosearch.php"; }
else if(_tpye.value=="book"){ _keyword.name = "keyword";document.Searchpools.action = "../book/search.php"; }
else if(_tpye.value=="topic"){_keyword.name = "keyword"; document.Searchpools.action = "../group/search.php"; }
else if(_tpye.value=="company"){ _keyword.name = "comname"; document.Searchpools.action = "../company/search.php"; }
else if(_tpye.value=="ask"){ _keyword.name = "q"; document.Searchpools.action = "../ask/search.php"; }
else if(_tpye.value=="art") { _keyword.name = "keyword";document.Searchpools.action = "../plus/search.php";}
document.Searchpools.submit();
}
function CheckLogin()
{
var taget_obj = document.getElementById('_loginform');
myajax = new DedeAjax(taget_obj,false,false,"","","");
myajax.SendGet2("loginsta.php");
DedeXHTTP = null;
}
</script>
</head>
<body onload="CheckLogin()">
<div id="container">
<!-- 头部开始 -->
<div id="header">
<div id="dzh_header">
<div id="dzh_logo">
</div>
<div id="dzh_toptext">
<?php
if(!$cfg_ml->IsLogin()){
?>
您好,请先 <a href="login.php?gourl=<?php echo urlencode(GetCurUrl());?>">登录</a> 或 <a href="index_do.php?fmdo=user&dopost=regnew">注册</a>
<?php
}else{
?>
您好,<?php echo $cfg_ml->M_UserName; ?> 欢迎登录,你的级别:<?php echo $Honor; ?> | <a href="control.php">控制面板</a> | <a href="index_do.php?fmdo=login&dopost=exit">退出登录</a>
<?php
}
?>
</div>
<div class="clear">
</div>
</div>
<div id="dzh_menu">
<ul>
<li class="dzh_index"><a href="<?php echo $cfg_indexurl;?>">首页</a></li>
<li class="dzh_class"><a href="../plus/goinfos.php">分类信息</a></li>
<li class="dzh_group"><a href="../group/">圈子系统</a></li>
<li class="dzh_ask"><a href="../ask/">问答频道</a></li>
<li class="dzh_book"><a href="../book/">小说频道</a></li>
<li class="dzh_yp"><a href="../company/">企业黄页</a></li>
</ul>
<div class="clear">
</div>
</div>
<form action="" method="get" name="Searchpools" id="Searchpools" onSubmit="javascript:SetSubmit();">
<div class="dzh_search">
<div class="dzh_search_left">
</div>
<div class="dzh_search_text">搜索:
<input name="keyword" id="keyword" type="text" class="dzh_searchtxt" />
<select id="searchtype">
<option value="art" selected>文章内容</option>
<option value="info">分类信息</option>
<option value="book">小说</option>
<option value="topic">圈子贴子</option>
<option value="company">公司企业</option>
<option value="ask">帮助答案</option>
</select>
<input type="submit" value="" class="search_button" />
</div>
<div class="dzh_search_right">
</div>
</div>
</form>
<div class="clear">
</div>
</div>
<!-- 头部结束 -->
<!--中部开始-->
<div id="dzh_main">
<div id="dzh_maincnter">
<div id="dzh_left"><!--左边开始-->
<div class="dzh_login"><!--登录开始-->
<div class="dzh_login_title">
<ul>
<li><?php if(!$cfg_ml->IsLogin()){ ?>会员登录 <?php }else{?><?php echo $cfg_ml->M_UserName;?>,您好!<?php } ?></li>
</ul>
</div>
<div class="dzh_login_form">
<span id='_loginform'>
<form name='form1' method='POST' action='index_do.php'>
<input type="hidden" name="fmdo" value="login">
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
<dl>
<dd class="dzh_name">用户名:</dd>
<dd class="dzh_formlabel"><input name="userid" type="text" class="dzh_label" /></dd>
<dd class="dzh_name">密 码:</dd>
<dd class="dzh_formlabel"><input name="pwd" type="password" class="dzh_label" /></dd>
<dd class="dzh_name">验证码:</dd>
<dd class="dzh_formlabel1"><input name="vdcode" type="text" class="dzh_label1" /></dd>
<dd class="dzh_formlabel1"><img src="../include/vdimgck.php" /></dd>
<dd class="dzh_name"><input type="submit" value="登 录" class="dzh_loginbutton" /></dd>
</dl>
<div class="clear">
</div>
</form>
</span>
</div>
<div class="clear">
</div>
</div><!--登录结束-->
<div class="dzh_memberlist"><!--会员排行-->
<div class="dzh_membertitle">会员排行
</div>
<div class="rbox paihang">
<dl>
<?php
foreach($topmember as $k=>$rs){
?>
<dd><span class="name"><a href="?<?php echo $rs['userid'];?>/" target="_blank"><?php echo $rs['uname'];?></a></span></dd>
<?php } ?>
</dl>
</div>
</div><!--会员排行结束-->
<div class="dzh_memberlist"><!--新加入企业-->
<div class="dzh_companytitle">新加入企业
</div>
<div class="rbox paihang">
<dl>
<?php foreach($newcompanys as $k=>$rs){ ?>
<dd><span class="name"><a href="?<?php echo $rs['userid'];?>/" target="_blank"><?php echo $rs['comname'];?></a></span></dd>
<?php } ?>
</dl>
</div>
</div><!--新加入企业结束-->
<div class="dzh_grouplist"><!--圈子排行开始-->
<div class="dzh_grouptitle">圈子排行
</div>
<div class="rbox1 paihang1">
<dl>
<?php
if(isset($topgroups) && is_array($topgroups)){
foreach($topgroups as $k=>$rs){
?>
<dd><span class="name"><a href="../group/group.php?id=<?php echo $rs['groupid'];?>" target="_blank"><?php echo $rs['groupname'];?></a></span></dd>
<?php }} ?>
</dl>
</div>
</div><!--圈子排行结束-->
<div class="clear">
</div>
</div><!--左边结束-->
<div id="dzh_right"><!--右边开始-->
<div class="dzh_rightform"><!--第一排外框开始-->
<div class="dzh_hottopic"><!--热门帖子开始-->
<ul>
<li>热门帖子</li>
</ul>
<dl>
<?php
if(isset($topics) && is_array($topics)){
if(!isset($titleleft)) $titleleft = '';
foreach($topics as $k=>$rs){
$title = $rs['subject'];
if($rs['digest']) $titleleft .= " [<font color=\"red\">精华</font>]";
if($rs['replies']>10) $titleleft .= "[<font color=\"red\">热门</font>]";
$title = $titleleft.$title;
$titleleft = "";
?>
<dd><a href="../group/viewthread.php?id=<?php echo $rs['gid'];?>&tid=<?php echo $rs['tid'];?>" title="<?php echo $rs['subject'];?>" target="_blank"><?php echo $title;?></a></dd>
<?php
}}
?>
</dl>
</div><!--热门帖子结束-->
<div class="dzh_asktopic"><!--最新问答开始-->
<ul>
<li>最新问答</li>
</ul>
<dl>
<?php
if(isset($newask) && is_array($books)){
foreach($newask as $k=>$rs){
$status = "<span>未解决</span>";
if($rs['status']) $status = "已解决";
?>
<dd class="dzh_asktp"><a href="../ask/question.php?id=<?php echo $rs['id'];?>" target="_blank"><?php echo $rs['title'];?></a></dd>
<dd class="dzh_askaa"><?php echo $status;?></dd>
<?php }} ?>
</dl>
<div class="clear">
</div>
</div><!--最新问答结束-->
<div class="clear">
</div>
</div><!--第一排外框结束-->
<div class="dzh_rightform"><!--第二排外框开始-->
<div class="dzh_mainbook"><span>热门文章</span>
<ul>
<?php
foreach($hotarchives as $k=>$rs){
if(!empty($rs['color'])) $title = "<font color='".$rs['color']."'>".$rs['title']."</font>";
else $title = $rs['title'];
?>
<li><a href="../plus/view.php?aid=<?php echo $rs['ID'];?>&tid=<?php echo $rs['typeid'];?>" target="_blank"><?php echo $title;?></a></li>
<?php } ?>
</ul>
</div>
<div class="dzh_article"><span>最新文章</span><!--最新文章开始-->
<ul>
<?php
foreach($newarchives as $k=>$rs){
if(!empty($rs['color'])) $title = "<font color='".$rs['color']."'>".$rs['title']."</font>";
else $title = $rs['title'];
?>
<li><a href="../plus/view.php?aid=<?php echo $rs['ID'];?>&tid=<?php echo $rs['typeid'];?>" target="_blank"><?php echo $title;?></a></li>
<?php } ?>
</ul>
<div class="clear">
</div>
</div><!--最新文章结束-->
</div><!--第二排外框结束-->
<div id="dzh_photo"><!--最新图集-->
<ul>
<li>最新图集</li>
</ul>
<?php
foreach($pics as $k=>$rs){
?>
<div class="dzh_photoimg">
<dl>
<dd class="dzhright"><a href="../plus/view.php?aid=<?php echo $rs['ID'];?>&tid=<?php echo $rs['typeid'];?>" target="_blank"><img src="<?php echo $rs['litpic'];?>" width="100" height="70" border="0" /></a></dd>
<dd class="dzhcenter"><a href="../plus/view.php?aid=<?php echo $rs['ID'];?>&tid=<?php echo $rs['typeid'];?>" target="_blank"><?php echo $rs['title'];?></a></dd>
</dl>
</div>
<?php } ?>
<div class="clear">
</div>
</div><!--最新图集结束-->
<div class="dzh_rightform"><!--第四排外框开始-->
<div class="dzh_mainbook"><span>分类信息</span><!--分类信息开始-->
<ul>
<?php
foreach($infos as $k=>$rs){
if(!empty($rs['color'])) $title = "<font color='".$rs['color']."'>".$rs['title']."</font>";
else $title = $rs['title'];
?>
<li><a href="../plus/view.php?aid=<?php echo $rs['ID'];?>&tid=<?php echo $rs['typeid'];?>" target="_blank"><?php echo $title;?></a></li>
<?php } ?>
</ul>
<div class="clear">
</div>
</div><!--分类信息结束-->
<div class="dzh_article"><span>最新连载</span><!--分类信息开始-->
<ul>
<?php
if(isset($books) && is_array($books)){
foreach($books as $k=>$rs){
?>
<li><a href="<?php echo GetBookUrl2($rs['id'],$rs['bookname']);?>" target="_blank"><?php echo $rs['bookname'];?></a></li>
<?php }} ?>
</ul>
<div class="clear">
</div>
</div><!--最新连载结束-->
<div class="clear">
</div>
</div><!--第四排外框结束-->
<div class="clear">
</div>
</div><!--右边结束-->
<div class="clear">
</div>
<div id="dzh_footer"><!--底部开始-->
<div id="dzh_footer_form">
<ul><li><?php echo $cfg_powerby?></li></ul>
</div>
<div class="clear">
</div>
</div><!--底部结束-->
<div class="clear">
</div>
</div>
<div class="clear">
</div>
</div>
<div class="clear">
</div>
<!--中间结束-->
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/index.htm | HTML | asf20 | 15,274 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>文档管理</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<script language="javascript">
function viewArc(aid,tid){
window.open("<?php echo $cfg_plus_dir?>/view.php?aid="+aid+"&tid="+tid);
}
function editArc(aid,channelid){
var arceditFile;
arceditFile = "do.php?channelid="+channelid+"&";
location = arceditFile + "aid="+aid+"&action=edit";
}
function delArc(aid,channelid){
if(window.confirm('你确定要删除这篇文档吗?'))
location="do.php?aid="+aid+"&action=delete&channelid="+channelid;
}
</script>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/commenu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="183" valign="top">
<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td align='center' valign='top'>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:3px; margin-top:10px;">
<tr bgcolor="#ffffff">
<div class="manage_company_right_title">
<ul><li>
<?php echo $positionname?>
内容列表</li></ul>
</div>
</tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<form name="form2">
<tr align="center" bgcolor="#FAFAF1" height="24">
<td width="33%" bgcolor="#F0F8D6">文章标题</td>
<td width="14%" bgcolor="#F0F8D6">发布时间</td>
<td width="16%" bgcolor="#F0F8D6">类目</td>
<td width="10%" bgcolor="#F0F8D6">点击</td>
<td width="9%" bgcolor="#F0F8D6">状态</td>
<td width="18%" bgcolor="#F0F8D6">操作</td>
</tr>
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FBFEE9';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="24">
<td align='left'>
·<a href='<?php echo $cfg_plus_dir?>/view.php?aid=<?php echo $row['ID']?>&tid=<?php echo $row['typeid']?>' target='_blank'><u><?php echo $row['title']?><?php echo IsPicArchives($row['litpic'])?></u></a>
</td>
<td>
<?php echo GetDateMk($row['senddate'])?>
</td>
<td>
<?php echo $row['typename']?>
</td>
<td>
<?php echo $row['click']?>
</td>
<td>
<?php
if($row['arcrank']>=0) echo "已审核";
else echo "<font color='red'>未审核</font>";
?>
</td>
<td>
<?php
if($row['arcrank']<0 || $arcsta!=-1){
?>
<a href="javascript:editArc(<?php echo $row['ID']?>,<?php echo $row['channel']?>);">改</a> |
<a href="javascript:delArc(<?php echo $row['ID']?>,<?php echo $row['channel']?>);">删</a> |
<?php }else{ echo "<font color='#ababab'>改 | 删 | </font>"; } ?>
<a href="javascript:viewArc(<?php echo $row['ID']?>,<?php echo $row['typeid']?>);">预览</a>
</td>
</tr>
<?php
}
?>
</form>
<tr align="right" bgcolor="#EEF4EA">
<td height="20" colspan="6" align="center" bgcolor="#F9FCEF">
<?php echo $dlist->GetPageList(7);?></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="4"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="border: 1px solid #D9EDC0;" height="26">
<table width='100%'border='0' cellpadding='1' cellspacing='1'>
<tr bgcolor='#EEF4EA'>
<form name='form3' action='content_list.php' method='get'>
<input type='hidden' name='dopost' value='listArchives'>
<input type='hidden' name='channelid' value='<?php echo $channelid?>'>
<td background="img/nnnbg.gif" bgcolor="#F3FADE"><table width='580' border='0' cellpadding='0' cellspacing='0'>
<tr>
<?php
if($channelid=='1'||$channelid=='2'){
?>
<td width='90' align='center'>请选择类目:</td>
<td width='160'>
<select name='mtype' style='width:150'>
<?php
$dlist->dsql->SetQuery("Select * From #@__member_arctype where memberid='".$cfg_ml->M_ID."' And channelid='$channelid';");
$dlist->dsql->Execute('mylist');
echo "<option value='0'>--请选择分类--</option>";
while($arow = $dlist->dsql->GetObject('mylist')){
if($mtype==$arow->aid) echo "<option value='".$arow->aid."' selected>".$arow->typename."</option>\r\n";
else echo "<option value='".$arow->aid."'>".$arow->typename."</option>\r\n";
}
?>
</select>
</td>
<?php
}else{ echo "<td width='250'></td>\r\n"; }
?>
<td width='80'> 关键字: </td>
<td width='150'> <input type='text' name='keyword' value='<?php echo $keyword?>' style='width:140'>
</td>
<td> <input name="imageField" type="image" src="img/button_search.gif" width="60" height="22" border="0" class="np">
</td>
</tr>
</table></td>
</form>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" height="4"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="24" valign="top"> </td>
</tr>
</table></td>
</tr>
</table>
<?php include(dirname(__FILE__)."/foot.htm"); ?>
</div>
</body>
</html> | zyyhong | trunk/jiaju001/news/member/templets/list.htm | HTML | asf20 | 5,375 |
<!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='Content-Type' content='text/html; charset=utf-8'>
<title>我的订单</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<style>
.napisdiv {left:10;top:0;width:150;height:100;position:absolute;z-index:3}
</style>
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language='javascript' src='main.js'></script>
<script language="JavaScript">
var pageno = 1;
var totalrow = <?php echo $totalRow?>;
var pagesize = <?php echo $pagesize?>;
var orderby = '<?php echo $orderby?>';
var selitem = 0;
//加载列表
function ReloadPage(ordertype){
orderby = ordertype;
var listArea = $Obj('rslist');
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在加载...");
myajax.SendGet("myorder.php?dopost=getlist&pageno="+pageno+"&orderby="+ordertype);
}
//载入指定页的列表
function LoadPage(npage){
pageno = npage;
ReloadPage(orderby);
ReloadPageNum(pageno);
}
//删除留言
function DelNote(nid){
if(!window.confirm('你确定要删除这则留言吗?'))
{
return false;
}
var listArea = $Obj('rslist');
totalrow = totalrow - 1;
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("myorder.php?dopost=del&orderid="+nid+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//标记订单为已处理状态
function DealNote(nid){
if(!window.confirm('你确定要标记这个订单为已处理状态吗?'))
{
return false;
}
var listArea = $Obj('rslist');
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("myorder.php?dopost=dealorder&orderid="+nid+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//获得选中文项的ID
function getCheckboxItem()
{
var allSel="";
selitem = 0;
if(document.form1.ids.value){
selitem++;
return document.form1.ids.value;
}
for(i=0;i<document.form1.ids.length;i++){
if(document.form1.ids[i].checked){
if(allSel=="") allSel=document.form1.ids[i].value;
else allSel=allSel+","+document.form1.ids[i].value;
selitem++;
}
}
return allSel;
}
//批量删除留言
function DelNotes(){
var listArea = $Obj('rslist');
var aids = getCheckboxItem();
if(selitem==0){
alert("你没选中任何内容!");
return false;
}
if(!window.confirm('你确定要删除这些留言吗?')){
return false;
}
totalrow = totalrow - selitem;
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("myorder.php?dopost=del&ids="+aids+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//批量标记订单为已处理
function DealNotes(){
var listArea = $Obj('rslist');
var aids = getCheckboxItem();
if(selitem==0){
alert("你没选中任何内容!");
return false;
}
if(!window.confirm('你确定要标记这些订单为已处理状态吗?')){
return false;
}
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("myorder.php?dopost=dealorder&ids="+aids+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//重新加载分页列表
function ReloadPageNum(startnum){
var ListArea = $Obj('pagelist');
var pagenum = Math.ceil(totalrow/pagesize);
var listsize = 3;
var ahtml = "";
var startloop = 1;
var endnum = 0;
ahtml += "共:"+totalrow+" 条记录/"+pagenum+"页 ";
if(pageno>1) ahtml += "<a href='#' onclick='LoadPage("+(pageno-1)+")'>↑上页</a> ";
if(startnum >= pagenum-listsize){
startloop = pagenum-(listsize*2);
if(startloop<1) startloop = 1;
for(i=startloop;i<=pagenum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
else if(pagenum < listsize){
for(i=1;i<=pagenum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
else{
startloop = startnum-listsize;
if(startloop<1){ startloop=1; endnum = startloop + (listsize*2); }
else{ endnum = startnum+listsize; }
if(endnum >= pagenum) endnum = pagenum;
for(i=startloop;i<=endnum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
if(pageno<pagenum) ahtml += "<a href='#' onclick='LoadPage("+(pageno+1)+")'>下页↓</a> ";
ListArea.innerHTML = ahtml;
}
</script>
</head>
<body leftmargin='0' topmargin='0'>
<div align="center">
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/commenu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" style="margin-bottom:3px;margin-top:10px;" >
<tr align="right" bgcolor="#ffffff">
<td height="25" colspan="6" background="img/nnnbg.gif" class="gdt">
<table width='100%' align="center" cellpadding='0' cellspacing='0' style="background:url(images/right_titlebg.gif) repeat-x;">
<tr>
<td width='30%' height="30" align="left" style="font-weight:700; color:#355b00;text-indent:30px;background:url(images/title01.gif) no-repeat 10px;">我的订单:</td>
<td align='right' style="padding-right:20px;">
<input type="button" name="Submit" value="标记选中的订单为已处理状态" onClick="DealNotes()">
<input type="button" name="Submit" value="删除选中订单" onClick="DelNotes()">
</td>
</tr>
</table></td>
</tr>
</table>
<form name="form1">
<span id='rslist'>
<?php
GetList($dsql,$pageno,$pagesize,'orderid');
?>
</span>
</form>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D9EDC0">
<tr height="24">
<td height="32" bgcolor="#F9FCEF" align="center">
<span id='pagelist'></span>
<script language='javascript'>
ReloadPageNum(1);
</script>
</td>
</tr>
</table></td>
</tr>
</table>
<?php include(dirname(__FILE__)."/foot.htm"); ?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/myorder.htm | HTML | asf20 | 7,547 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>确认订单并支付</title>
<link href="newskin.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php"); ?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="103" colspan="2"><img src="img/indbanner.jpg" width="580" height="100"></td>
</tr>
<tr>
<td height="140" colspan="2">
<form name='f1' action='https://payment.nps.cn/PHPReceiveMerchantAction.do' method='post'>
<input type='hidden' name='OrderMessage' value='<?php echo $OrderInfo?>'>
<input type='hidden' name='digest' value='<?php echo $digest?>'>
<input type='hidden' name='M_ID' value='<?php echo $cfg_merchant?>'>
<table width="98%" border="0" cellpadding="3" cellspacing="0" style="margin-top:3px; margin-bottom:8px; border-bottom:1px solid #ababab">
<tr bgcolor="#F2FCE0">
<div class="manage_company_right_title" style="margin-top:10px;">
<ul><li>请确认你的订单:</li></ul>
</div>
</tr>
</table>
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC" style="margin-bottom:8px">
<tr>
<td bgcolor="#FFFFFF">
<div style="line-height:200%;border-bottom:1px solid #cdcdcd;margin-bottom:8px">
<img src="img/okico.gif" width="30" height="30">你申请购买的产品如下,确认无误后请点击“购买并支付”按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式:
</div>
<div style="line-height:250%;color:red;margin-left:24px;margin-bottom:8px">
订单编号:<?php echo $buyid?>
<br>
产品类型:<?php echo $ptype?>
<br>
产品名称:<?php echo $pname?>
<br>
产品价格:<?php echo $price?>
元<br>
</div>
<div style="height:30px;text-align:center;padding-top:10px;margin-bottom:8px;border-top:1px solid #cdcdcd">
<input name="imageField" type="image" src="img/buysbok.gif" width="85" height="20" border="0" class="np">
<a href="javascript:location='buy.php';"><img src="img/buysbbk.gif" width="85" height="20" border="0"></a>
</div>
</td>
</tr>
</table>
</form>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table> </td>
</tr>
</table>
</td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/buy_action_nps.htm | HTML | asf20 | 2,776 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>修改图集</title>
<link href="newskin.css" rel="stylesheet" type="text/css">
<link href="company_style.css" rel="stylesheet" type="text/css">
<script language='javascript' src='main.js'></script>
<script language="javascript">
<!--
function checkSubmit()
{
if(document.form1.title.value==""){
alert("图集标题不能为空!");
document.form1.title.focus();
return false;
}
if(document.form1.typeid.value==0){
alert("图集隶属栏目必须选择!");
return false;
}
if(document.form1.vdcode.value==""){
document.form1.vdcode.focus();
alert("验证码不能为空!");
return false;
}
}
var startNum = 1;
function MakeUpload(mnum)
{
var endNum = 0;
var upfield = document.getElementById("uploadfield");
var pnumObj = document.getElementById("picnum");
var fhtml = "";
if(mnum==0) endNum = startNum + Number(pnumObj.value);
else endNum = mnum;
if(endNum>120) endNum = 120;
for(startNum;startNum < endNum;startNum++){
fhtml = "";
fhtml += "<table width='600' align=\"center\"><tr><td align='left'><input type='checkbox' name='isokcheck"+startNum+"' id='isokcheck"+startNum+"' value='1' class='np' onClick='CheckSelTable("+startNum+")'>显示/隐藏图片["+startNum+"]的选框</td></tr></table>";
fhtml += "<table width=\"600\" border=\"0\" id=\"seltb"+startNum+"\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#E8F5D6\" style=\"margin-bottom:6px;\" align=\"center\"><tobdy>";
fhtml += "<tr bgcolor=\"#F4F9DD\">\r\n";
fhtml += "<td height=\"25\" colspan=\"2\" align='left'> <b>图片"+startNum+":</b></td>";
fhtml += "</tr>";
fhtml += "<tr bgcolor=\"#FFFFFF\"> ";
fhtml += "<td width=\"410\" height=\"25\" align='left'> 本地上传: ";
fhtml += "<?php if($cfg_mb_upload=='Y'){?><input type=\"file\" name='imgfile"+startNum+"' style=\"width:330px\" onChange=\"SeePic(document.picview"+startNum+",document.form1.imgfile"+startNum+");\"><?php }else{ echo "系统禁止了文件上传功能!";}?></td>";
fhtml += "<td width=\"164\" rowspan=\"3\" align=\"center\"><img src=\"img/pview.gif\" width=\"150\" id=\"picview"+startNum+"\" name=\"picview"+startNum+"\"></td>";
fhtml += "</tr>";
fhtml += "<tr bgcolor=\"#FFFFFF\"> ";
fhtml += "<td height=\"25\" align='left'> 指定网址: ";
fhtml += "<input type=\"text\" name='imgurl"+startNum+"' value='http://' style=\"width:260px\"> ";
fhtml += "</td></tr>";
fhtml += "<tr bgcolor=\"#FFFFFF\"> ";
fhtml += "<td height=\"56\"> 图片简介: ";
fhtml += "<textarea name='imgmsg"+startNum+"' style=\"height:46px;width:330px\"></textarea> </td>";
fhtml += "</tr></tobdy></table>\r\n";
upfield.innerHTML += fhtml;
}
}
function CheckSelTable(nnum){
var cbox = $Obj('isokcheck'+nnum);
var seltb = $Obj('seltb'+nnum);
if(cbox.checked) seltb.style.display = 'none';
else seltb.style.display = 'block';
}
-->
</script>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px;">
<tr>
<div class="manage_company_right_title">
<ul><li>修改图集:</li></ul>
</div>
</tr>
<tr>
<form action="album_edit_action.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit();">
<input type="hidden" name="ID" value="<?php echo $row['ID']; ?>">
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>">
<td height="183" valign="top" style="padding-top:3px">
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" align="left" bgcolor="#F0FBE3"><strong>◆常规参数:</strong></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">图集名称:</td>
<td align="left"><input name="title" type="text" style="width:250px" id="title" size="30" class="company_manage_form_label" value="<?php echo $row['title']?>" />
<font color="#FF0000">*</font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">图片来源:</td>
<td align="left"><input name="source" type="text" id="source" size="30" class="company_manage_form_label" value="<?php echo $row['source']?>" />
作者:
<input name="writer" type="text" id="writer" size="15" class="company_manage_form_label" value="<?php echo $row['writer']?>" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">隶属栏目:</td>
<td align="left"><?php
echo GetTypeidSelMember('form1','typeid','selbt1',$row['channel'],$row['typeid'],$arow['typename'],false);
?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">我的分类:</td>
<td align="left"><select name="mtype" id="mtype" style="width:200px">
<?php
$dsql->SetQuery("Select * From #@__member_arctype where memberid='".$cfg_ml->M_ID."' ;");
$dsql->Execute();
if($row['mtype']==0) echo "<option value='0'>--请选择分类--</option>";
while($arow = $dsql->GetObject()){
if($row['mtype']==$arow->aid) echo "<option value='".$arow->aid."' selected>".$arow->typename."</option>\r\n";
else echo "<option value='".$arow->aid."'>".$arow->typename."</option>\r\n";
}
?>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">内容简介:</td>
<td align="left"><textarea name="description" id="description" style="width:80%;height:50px"><?php echo $row['description']?>
</textarea></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">标签(TAG):</td>
<td align="left"><input name="keywords" type="text" id="keywords" style="width:50%;" value="<?php echo $row['keywords']?>" class="company_manage_form_label" />
(多个标签(TAG)用空格分开)</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">缩略图:</td>
<td align="left"><input name="litpic" type="file" id="litpic" style="width:300px" onchange="SeePic($Obj('picview'),$Obj('litpic'),$Obj('picarea'));" class="company_manage_form_label" /></td>
</tr>
<tr id="picarea" style='<?php echo ($row['litpic']!='' ? '' : 'display:none'); ?>'>
<td height="28">预 览:</td>
<td align="left"><img src="<?php echo ($row['litpic']!='' ? $row['litpic'] : "img/pview.gif"); ?>" id="picview" width="150" height="120" /></td>
</tr>
</table></td>
</tr>
<?php PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield'); ?>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="#F0FBE3">
<td height="24" colspan="4" align="left" bgcolor="#F0FBE3"><strong>◆图集内容:</strong></td>
</tr>
<tr bgcolor="#F0FBE3">
<td width="100%" height="24" colspan="4" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24">宽度限制:</td>
<td align="left"><input name="maxwidth" type="text" id="maxwidth" value="<?php echo $addRow['maxwidth']?>" size="8" class="yanzhengma" />
像素(图片太大会撑坏版面美观,可以在此设定限制)</td>
</tr>
<tr>
<td width="19%" height="24"> 图片:</td>
<td width="81%" align="left"> <input name="picnum" type="text" id="picnum" size="8" value="5" class="yanzhengma">
<input name='kkkup' type='button' id='kkkup2' value='增加上传框' onClick="MakeUpload(0);">
(注:最大60幅) </td>
</tr>
</table></td>
</tr>
<tr>
<td height="150" colspan="4" align="center" valign="top" bgcolor="#FFFFFF">
<?php
$j = 1;
if($addRow['imgurls']!=""){
$dtp = new DedeTagParse();
$dtp->LoadSource($addRow['imgurls']);
if(is_array($dtp->CTags))
{
foreach($dtp->CTags as $ctag){
if($ctag->GetName()=="img"){
?>
<table width='600' style="clear:both">
<tr><td height="18" align="left">
<input type='checkbox' name='isokcheck<?php echo $j?>' id='isokcheck<?php echo $j?>' value='1' class='np' onClick='CheckSelTable(<?php echo $j?>)'>显示/隐藏图片[<?php echo $j?>]的选框
</td></tr>
</table>
<table width="600" border="0" id="seltb<?php echo $j?>" cellpadding="1" cellspacing="1" bgcolor="#E8F5D6" align="center" style="margin-bottom:6px;">
<tr bgcolor="#F4F9DD">
<td height="25" colspan="2" align="left"> <b>图片<?php echo $j?></b></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="410" height="25" align="left"> 本地上传:
<?php
if($cfg_mb_upload=='Y'){
?>
<input type="file" name='imgfile<?php echo $j?>' style="width:330px" onChange="SeePic(document.picview<?php echo $j?>,document.form1.imgfile<?php echo $j?>);" class="company_manage_form_label">
<?php
}else{
echo "系统禁止了文件上传功能!";
}
?>
</td>
<td width="164" rowspan="3" align="center">
<img src="<?php echo trim($ctag->GetInnerText())?>" width="150" id="picview<?php echo $j?>" name="picview<?php echo $j?>">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="left"> 指定网址:
<input type="text" name='imgurl<?php echo $j?>' value='<?php echo trim($ctag->GetInnerText())?>' style="width:260px" class="company_manage_form_label">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="56"> 图片简介:
<textarea name='imgmsg<?php echo $j?>' style="height:46px;width:330px"><?php echo trim($ctag->GetAtt('text'))?></textarea>
</td>
</tr>
</table>
<?php
$j++;
}
}
}
$dtp->Clear();
}
?>
<span id='uploadfield'></span>
<script language="JavaScript">
startNum = <?php echo $j?>;
</script>
</td>
</tr>
<tr bgcolor="#F7FDF0">
<td height="45" colspan="4" align="center"> <input name="imageField" type="image" src="img/button_save.gif" width="60" height="22" border="0">
<img src="img/button_reset.gif" width="60" height="22" style="cursor:hand" onClick="location.reload();">
</td>
</tr>
</table></td>
</form>
</tr>
<tr>
<td height="10"></td>
</tr>
</table> </td>
</tr>
</table>
<?php
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/album_edit.htm | HTML | asf20 | 13,518 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>发布<?php echo $cInfos['typename']; ?></title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<script language='javascript' src='main.js'></script>
<script language="javascript">
<!--
function checkSubmit()
{
if(document.form1.title.value==""){
alert("文档标题不能为空!");
document.form1.title.focus();
return false;
}
if(document.form1.typeid.value==0){
alert("文档隶属栏目必须选择!");
return false;
}
if(document.form1.vdcode.value==""){
document.form1.vdcode.focus();
alert("验证码不能为空!");
return false;
}
}
-->
</script>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/commenu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="turnleft" style="margin-top:10px">
<tr>
<td background="img/nnnbg.gif" height="25" class="gdt2">
<font color="#333333">
<div class="manage_company_right_title">
<ul><li> 发布新<?php echo $cInfos['typename'];?>:</li></ul>
</div>
</td>
</tr>
<tr>
<form name="form1" action="archives_add_action.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<td height="183" valign="top" style="padding-top:3px">
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" bgcolor="#F0FBE3"><strong>◆常规参数:</strong></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28"><?php echo $cInfos['typename'];?>标题:</td>
<td><input name="title" type="text" id="title" size="30" class="company_manage_form_label" />
<font color="#FF0000">*</font> 发布人:
<input name="writer" type="text" id="writer" size="15" class="company_manage_form_label" value="<?php echo $cfg_ml->M_UserName?>" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">隶属栏目:</td>
<td><?php
$selname = '请选择...';
$delv = '0';
if(!empty($cid)){
$crow = $dsql->GetOne("Select ID,typename From #@__arctype where ID='$cid' ");
$selname = $crow['typename'];
$selv = $crow['ID'];
}
echo GetTypeidSelMember('form1','typeid','selbt1',$channelid,$selv,$selname,false);
?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">验证码:</td>
<td><table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84"><input name="vdcode" style="width:80px" type="text" id="vdcode" size="10" class="yanzhengma" /></td>
<td width="116"><img src='../include/vdimgck.php' width='50' height='20' /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">我的分类:</td>
<td><select name="mtype" id="mtype" style="width:200px">
<option value='0'>--请选择分类--</option>
<?php
$dsql->SetQuery("Select * From #@__member_arctype where memberid='".$cfg_ml->M_ID."' ;");
$dsql->Execute();
while($row = $dsql->GetObject()){
echo "<option value='".$row->aid."'>".$row->typename."</option>\r\n";
}
?>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">内容简介:</td>
<td><textarea name="description" id="description" style="width:80%;height:50px"></textarea></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">标签(TAG):</td>
<td><input name="keywords" type="text" id="keywords" style="width:50%;" value="" class="company_manage_form_label" />
(多个标签(TAG)用空格分开)</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">缩略图:</td>
<td><input name="litpic" type="file" id="litpic" style="width:300px" onchange="SeePic($Obj('picview'),$Obj('litpic'),$Obj('picarea'));" class="company_manage_form_label" /></td>
</tr>
<tr id="picarea" style='display:none'>
<td height="28">预 览:</td>
<td><img src="img/pview.gif" id="picview" width="150" height="120" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" bgcolor="#F0FBE3"><strong>◆附加参数:</strong></td>
</tr>
<?php
if($cInfos['ID']==5) PrintAutoFieldsAdd($cInfos['fieldset'],'all');
else PrintAutoFieldsAdd($cInfos['fieldset'],'autofield');
?>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="#F7FDF0">
<td width="400%" height="45" colspan="4" align="center"> <input name="imageField" type="image" src="img/button_save.gif" width="60" height="22" border="0">
<img src="img/button_reset.gif" width="60" height="22" style="cursor:hand" onClick="location.reload();"> </td>
</tr>
</table></td>
</form>
</tr>
<tr>
<td height="10"></td>
</tr>
</table> </td>
</tr>
</table>
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/archives_add.htm | HTML | asf20 | 8,342 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>更改文章</title>
<link href="base.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language='javascript' src='main.js'></script>
<script language="javascript">
<!--
<?php
echo $areacache;
echo $sectorcache;
?>
function checkSubmit()
{
if(document.form1.title.value==""){
alert("标题不能为空!");
document.form1.title.focus();
return false;
}
if(document.form1.sectorchange.checked || document.form1.areachange.checked){
if (!confirm("您选择了更改行业或者地区,请确认吗?")) return false;
}
}
-->
</script>
<script language='javascript' src='../include/common.js'></script>
</head>
<body topmargin="8">
<form name="form1" action="cominfoedit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="step" value="2">
<input type="hidden" name="ID" value="<?php echo $aid?>">
<input type="hidden" name="senddate" value="<?php echo $info['senddate']?>">
选择栏目:
<?php
echo GetTypeidSelMember('form1','typeid','selbt1',$channelid,$info['typeid'],$info['typename'],false);
?>
<br><br>
选择小分类:<select name="smalltypeid">
<option value="0">-不限-</option>
<?php echo $smalltypes;?>
</select>
<br><br>
选择地区:
<?php echo $areaidname; ?> - <?php echo $areaid2name; ?>
<input type="checkbox" name="areachange" onclick="javascript:showonobj('area',this.name)" />更改地区
<input type="hidden" name="oldareaid" value="<?php echo $info[areaid]; ?>" />
<input type="hidden" name="oldareaid2" value="<?php echo $info[areaid2]; ?>" />
<div id="area" style="display:none;">
<select name="areaid" id="areaid" onChange="javascript:selNext(this.document.form1.areaid2,this.value,'subareas')">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__area where reid=0");
$dsql->Execute();
while($area = $dsql->GetArray())
{
echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n";
}
?>
</select>
<select name="areaid2" id="areaid2">
<option value="0">--不限--</option>
</select>
</div>
<br><br>
选择行业:
<?php echo $sectoridname; ?> - <?php echo $sectorid2name; ?>
<input type="checkbox" name="sectorchange" onclick="javascript:showonobj('sector',this.name)" />更改主营行业
<input type="hidden" name="oldsectorid" value="<?php echo $info[sectorid]; ?>" />
<input type="hidden" name="oldsectorid2" value="<?php echo $info[sectorid2]; ?>" />
<div id="sector" style="display:none;">
<select name="sectorid" id="sectorid" onChange="javascript:selNext(this.document.form1.sectorid2,this.value,'subsectors')">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__sectors where reid=0");
$dsql->Execute();
while($sector = $dsql->GetArray())
{
echo "<option value='".$sector['id']."'>".$sector['name']."</option>\r\n";
}
?>
</select>
<select name="sectorid2" id="sectorid2">
<option value="0">--不限--</option>
</select>
</div>
<br><br>
<br><br>
发布时间:
<?php
$nowtime = GetDateTimeMk($info["pubdate"]);
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200\">";
?>
<br><br>
有效期:<input type=text name=endtime value="<?php echo $info['endtime']?>" />天
<br><br>
标题:<input type=text name=title value="<?php echo $info['title']?>" />
<br>
<br>
缩略图:
<table id="pictable" width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="28" align="center" bgcolor="#F7FDF0">缩略图:</td>
<td colspan="3" bgcolor="#F7FDF0">
<input name="litpic" type="file" id="litpic" style="width:300" onChange="SeePic($Obj('picview'),$Obj('litpic'),$Obj('picarea'));"></td>
</tr>
<tr id="picarea" style="<?php if($info['litpic']) echo "display:block"; else echo "display:none"; ?>">
<td colspan="4" align="center" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="18%" height="110"> </td>
<td width="82%"><img src="<?php if($info['litpic']){ echo $info['litpic']; }else{ echo "img/pview.gif"; } ?>" id="picview" width="150" height="120"></td>
</tr>
</table> </td>
</tr>
</table>
<br>
关键词:<input type=text name=keywords value="<?php echo $info['keywords']?>" />
<br><br>
文章摘要:
<textarea name="description" rows="3" id="description" style="width:200"><?php echo $info['description']; ?></textarea>
<br><br>
联系人:<input type=text name=contact value="<?php echo $info['contact']?>" />
<br><br>
电话:<input type=text name=phone value="<?php echo $info['phone']?>" />
<br><br>
传真:<input type=text name=fax value="<?php echo $info['fax']?>" />
<br><br>
email:<input type=text name=email value="<?php echo $info['email']?>" />
<br><br>
qq:<input type=text name=qq value="<?php echo $info['qq']?>" />
<br><br>
msn:<input type=text name=msn value="<?php echo $info['msn']?>" />
<br><br>
地址:<input type=text name=address value="<?php echo $info['address']?>" />
<br><br>
内容:
<input name="remote" type="checkbox" class="np" id="remote" value="1" >
下载远程图片和资源
<input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" >
提取第一个图片为缩略图
<?php
GetEditor("body",$body,450,"MemberLit");
?>
<input name="imageField" type="image" src="img/button_ok.gif" width="60" height="22" border="0">
<img src="img/button_reset.gif" width="60" height="22" border="0" onClick="location.reload();" style="cursor:hand">
</form>
<?php
$dsql->Close();
?>
</body>
</html> | zyyhong | trunk/jiaju001/news/member/templets/cominfoedit.htm | HTML | asf20 | 6,100 |
<!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='Content-Type' content='text/html; charset=utf-8'>
<title>招聘信息管理</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<style>
.napisdiv {left:10;top:0;width:150;height:100;position:absolute;z-index:3}
</style>
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language='javascript' src='main.js'></script>
<script language="JavaScript">
var pageno = 1;
var totalrow = <?php echo $totalRow?>;
var pagesize = <?php echo $pagesize?>;
var orderby = '<?php echo $orderby?>';
var selitem = 0;
//加载列表
function ReloadPage(ordertype){
orderby = ordertype;
var listArea = $Obj('rslist');
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在加载...");
myajax.SendGet("joblist.php?dopost=getlist&pageno="+pageno+"&orderby="+ordertype);
}
//载入指定页的列表
function LoadPage(npage){
pageno = npage;
ReloadPage(orderby);
ReloadPageNum(pageno);
}
//删除招聘信息
function DelNote(nid){
if(!window.confirm('你确定要删除这条招聘信息吗?'))
{
return false;
}
var listArea = $Obj('rslist');
totalrow = totalrow - 1;
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("joblist.php?dopost=del&id="+nid+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//获得选中文项的ID
function getCheckboxItem()
{
var allSel="";
selitem = 0;
if(document.form1.ids.value){
selitem++;
return document.form1.ids.value;
}
for(i=0;i<document.form1.ids.length;i++){
if(document.form1.ids[i].checked){
if(allSel=="") allSel=document.form1.ids[i].value;
else allSel=allSel+","+document.form1.ids[i].value;
selitem++;
}
}
return allSel;
}
//批量删除招聘信息
function DelNotes(){
var listArea = $Obj('rslist');
var aids = getCheckboxItem();
if(selitem==0){
alert("你没选中任何内容!");
return false;
}
if(!window.confirm('你确定要删除这些招聘信息吗?')){
return false;
}
totalrow = totalrow - selitem;
var pagenum = Math.ceil(totalrow/pagesize);
if(pagenum<=pageno) pageno = pagenum;
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]";
var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理...");
myajax.SendGet("joblist.php?dopost=del&ids="+aids+"&pageno="+pageno);
ReloadPageNum(pageno);
}
//重新加载分页列表
function ReloadPageNum(startnum){
var ListArea = $Obj('pagelist');
var pagenum = Math.ceil(totalrow/pagesize);
var listsize = 3;
var ahtml = "";
var startloop = 1;
var endnum = 0;
ahtml += "共:"+totalrow+" 条记录/"+pagenum+"页 ";
if(pageno>1) ahtml += "<a href='#' onclick='LoadPage("+(pageno-1)+")'>↑上页</a> ";
if(startnum >= pagenum-listsize){
startloop = pagenum-(listsize*2);
if(startloop<1) startloop = 1;
for(i=startloop;i<=pagenum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
else if(pagenum < listsize){
for(i=1;i<=pagenum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
else{
startloop = startnum-listsize;
if(startloop<1){ startloop=1; endnum = startloop + (listsize*2); }
else{ endnum = startnum+listsize; }
if(endnum >= pagenum) endnum = pagenum;
for(i=startloop;i<=endnum;i++){
if(i==pageno) ahtml += i+" ";
else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> ";
}
}
if(pageno<pagenum) ahtml += "<a href='#' onclick='LoadPage("+(pageno+1)+")'>下页↓</a> ";
ListArea.innerHTML = ahtml;
}
</script>
</head>
<body leftmargin='0' topmargin='0'>
<div align="center">
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/commenu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" style="margin-bottom:3px; margin-top:10px">
<tr align="right" bgcolor="#ffffff">
<td height="25" colspan="6" background="img/nnnbg.gif" class="gdt">
<table width='96%' align="center" cellpadding='0' cellspacing='0'>
<tr>
<td width='30%'><b>招聘信息列表</b></td>
<td align='right'>
<input type="button" name="Submit" value="删除选中招聘信息" onClick="DelNotes()">
</td>
</tr>
</table></td>
</tr>
</table>
<form name="form1">
<span id="rslist"><?php GetList($dsql,$pageno,$pagesize,'pubdate');?></span>
</form>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D9EDC0">
<tr height="24">
<td height="32" bgcolor="#F9FCEF" align="center">
<span id="pagelis"></span>
<script language='javascript'>
ReloadPageNum(1);
</script>
</td>
</tr>
</table></td>
</tr>
</table>
<?php include(dirname(__FILE__)."/foot.htm");?>
</div>
</body>
</html> | zyyhong | trunk/jiaju001/news/member/templets/joblist.htm | HTML | asf20 | 5,928 |
<?php
if(isset($dsql) && is_object($dsql)) $dsql->Close();
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">
<tr>
<td height="60" align="center" style='background-image:url(img/fbg.gif);border-top:1px solid #dedede'>
<?php echo $cfg_powerby?>
</td>
</tr>
</table> | zyyhong | trunk/jiaju001/news/member/templets/foot.htm | HTML | asf20 | 348 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>招聘信息编辑</title>
<link href="company_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<div id="container">
<!-- 头部开始 -->
<?php include(dirname(__FILE__)."/comhead.htm"); ?>
<!-- 中部开始 -->
<div id="manage_company_main">
<!-- 中部左边开始 -->
<?php include(dirname(__FILE__)."/commenu.php");?>
<!-- 中部右边开始 -->
<div id="manage_company_right">
<div id="manage_company_info">
<div class="manage_company_info_title_bg">
<ul>
<li>招聘信息修改</li>
</ul>
</div>
<div class="addjob_form">
<form name="form1" action="editjob.php" method="post">
<input type=hidden name=id value="<?php echo $job['id'];?>" />
<input type=hidden name=step value="2" />
公司名称:<input type=text name=name value="<?php echo $job['name']?>" class="company_manage_form_label" />
<br />
职位名称:<input type=text name=job value="<?php echo $job['job']?>" class="company_manage_form_label" /><br />
招聘人数:<input type=text name=nums value="<?php echo $job['nums']?>" class="company_manage_form_label" /><br />
招聘部门:<input type=text name=department value="<?php echo $job['department']?>" class="company_manage_form_label" /><br />
工作地址:<input type=text name=address value="<?php echo $job['address']?>" class="company_manage_form_label" /><br />
发布日期:<?php echo strftime("%Y-%m-%d",$job['pubdate']);?><br />
有 效 期:<input type=text name=endtime value="<?php echo $job['endtime']?>" class="company_manage_form_label" />天<br />
薪酬范围:<input type=text name=salaries value="<?php echo $job['salaries']?>" class="company_manage_form_label" />只能填写数字,0为薪酬面议<br />
职位描述:
<?php
GetEditor("message","$job[message]",350,"Member");
?>
<input type=submit name=submit value="提交" class="button" />
</form>
<div style="height:20px;">
</div>
</div>
<div class="clear">
</div>
</div>
</div>
</div>
<div style="width:100%; float:left;">
<?php include(dirname(__FILE__)."/foot.htm");?>
</div>
</div>
</center>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/editjob.htm | HTML | asf20 | 2,568 |
<!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="Content-Type" content="text/html; charset=utf-8">
<title>更改文章</title>
<link href="company_style.css" rel="stylesheet" type="text/css">
<script language='javascript' src='main.js'></script>
<script language="javascript">
<!--
function checkSubmit()
{
if(document.form1.title.value==""){
alert("文章标题不能为空!");
document.form1.title.focus();
return false;
}
if(document.form1.typeid.value==0){
alert("文章隶属栏目必须选择!");
return false;
}
if(document.form1.vdcode.value==""){
document.form1.vdcode.focus();
alert("验证码不能为空!");
return false;
}
}
-->
</script>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php include(dirname(__FILE__)."/head.htm"); ?>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="160" height="216" valign="top">
<?php include(dirname(__FILE__)."/menu.php");?>
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px;">
<tr>
<div class="manage_company_right_title">
<ul><li>更改文章:</li></ul>
</div>
</tr>
<tr>
<form name="form1" action="article_edit_action.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="ID" value="<?php echo $row['ID']; ?>" />
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>" />
<td height="183" valign="top" style="padding-top:3px">
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" bgcolor="#F0FBE3"><strong>◆常规参数:</strong></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">文章标题:</td>
<td align="left"><input name="title" type="text" id="title" size="30" class="nb" value="<?php echo $row['title']?>" />
<font color="#FF0000">*</font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">文章出处:</td>
<td align="left"><input name="source" type="text" id="source" size="30" class="nb" value="<?php echo $row['source']?>" />
作者:
<input name="writer" type="text" id="writer" size="15" class="nb" value="<?php echo $row['writer']?>" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">隶属栏目:</td>
<td align="left"><?php
echo GetTypeidSelMember('form1','typeid','selbt1',$row['channel'],$row['typeid'],$arow['typename'],false);
?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">我的分类:</td>
<td align="left"><select name="mtype" id="mtype" style="width:200">
<?php
$dsql->SetQuery("Select * From #@__member_arctype where memberid='".$cfg_ml->M_ID."' ;");
$dsql->Execute();
if($row['mtype']==0) echo "<option value='0'>--请选择分类--</option>";
while($arow = $dsql->GetObject()){
if($row['mtype']==$arow->aid) echo "<option value='".$arow->aid."' selected>".$arow->typename."</option>\r\n";
else echo "<option value='".$arow->aid."'>".$arow->typename."</option>\r\n";
}
?>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">内容简介:</td>
<td align="left"><textarea name="description" id="description" style="width:80%;height:50px"><?php echo $row['description']?>
</textarea></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">标签(TAG):</td>
<td align="left"><input name="keywords" type="text" id="keywords" style="width:50%;" value="<?php echo $row['keywords']?>" />
(多个标签(TAG)用空格分开)</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="20%" height="28">缩略图:</td>
<td align="left"><input name="litpic" type="file" id="litpic" style="width:300px" onchange="SeePic($Obj('picview'),$Obj('litpic'),$Obj('picarea'));" class="company_manage_form_label" /></td>
</tr>
<tr id="picarea" style='<?php echo ($row['litpic']!='' ? '' : 'display:none'); ?>'>
<td height="28">预 览:</td>
<td align="left"><img src="<?php echo ($row['litpic']!='' ? $row['litpic'] : "img/pview.gif"); ?>" id="picview" width="150" height="120" /></td>
</tr>
</table></td>
</tr>
<?php
PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield');
//print_r($cInfos['fieldset']);
?>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="sendtable">
<tr>
<td height="24" bgcolor="#F0FBE3"><strong>◆文章内容:<font color="#FF0000">*</font></strong></td>
</tr>
<tr>
<td><?php
GetEditor("body",$addRow['body'],350,"Member");
?></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
<tr bgcolor="#F7FDF0">
<td width="400%" height="45" colspan="4" align="center"> <input name="imageField" type="image" src="img/button_save.gif" width="60" height="22" border="0">
<img src="img/button_reset.gif" width="60" height="22" style="cursor:hand" onClick="location.reload();"> </td>
</tr>
</table></td>
</form>
</tr>
<tr>
<td height="10"></td>
</tr>
</table> </td>
</tr>
</table>
<?php
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/member/templets/article_edit.htm | HTML | asf20 | 8,038 |
<?php
//API PHPWind GBK 通行证接口 类
class passport
{
var $passport_api;
var $action;
var $passport_key;
var $passport_cookietime;
var $db;
var $member;
var $encode;
var $forward;
var $verify;
var $exiturl;
//引入处部变量PHP5支持
function __construct(){
$this->db = $GLOBALS["dsql"];
if(empty($this->db)) $this->db = new DedeSql(false);
$this->passport_key = $GLOBALS["cfg_cookie_encode"];
$this->passport_cookietime = $GLOBALS["cfg_keep_time"];
$this->passport_api = $GLOBALS["cfg_pp_indexurl"].'/passport_client.php';
$this->member = $GLOBALS['cfg_basehost'].'/member/';
$this->exiturl = $GLOBALS["cfg_pp_exiturl"];
}
//PHP5以下版本构造外部变量
function passport(){
$this->__construct();
}
//登录动作
function login($userId,$pwd){
global $forward,$gourl;
$this->action = 'login';
if(isset($forward)){
$this->forward = rawurldecode($forward);
unset($forward);
}elseif(isset($gourl)){
$gourl = str_replace("../","/",$gourl);
$gourl = str_replace("//","/",$gourl);
unset($gourl);
$this->forward = $GLOBALS["cfg_basehost"]."/".$gourl;
}else{
$this->forward = $GLOBALS["cfg_basehost"]."/member/control.php";
}
$userdb = array();
$rs = $this->db->GetOne("SELECT uname,email,scores,money FROM #@__member WHERE userid='$userId'");
$userdb['uid'] = $rs['ID'];
$userdb['username'] = $userId;
$userdb['password'] = md5($pwd);
$userdb['email'] = $rs['email'];
$userdb['money'] = $rs['money'];
$userdb['credit'] = $rs['scores'];
$userdb['time'] = time();
$userdb['cktime'] = $userdb['time']+36000;
$encode = '';
foreach($userdb as $key=>$val)
{
$encode .= $encode ? "&$key=$val" : "$key=$val";
}
$this->encode = str_replace('=', '', $this->StrCode($encode));
$this->verify = md5("login".$this->encode.$this->forward.$this->passport_key);
unset($userdb);
$this->_Interface();
}
//退出动作
function logout(){
global $forward;
if(!isset($forward)) $this->forward = $this->member."index.php";
else $this->forward = $forward;
$userdb = array();
$this->action = 'quit';
$userdb['uid'] = '';
$userdb['username'] = 'exit';
$userdb['password'] = 'exit';
$userdb['email'] = 'exit';
$userdb['time'] = time();
$userdb['cktime'] = $userdb['time']+36000;
$encode = '';
foreach($userdb as $key=>$val)
{
$encode .= $encode ? "&$key=$val" : "$key=$val";
}
$this->encode = str_replace('=', '', $this->StrCode($encode));
$this->verify = md5("quit".$this->encode.$this->forward.$this->passport_key);
unset($userdb);
$this->_Interface();
}
//PW加密编码
function StrCode($string,$action='ENCODE')
{
$key = substr(md5($_SERVER["HTTP_USER_AGENT"].$this->passport_key),8,18);
$string = $action == 'ENCODE' ? $string : base64_decode($string);
$len = strlen($key);
$code = '';
for($i=0; $i<strlen($string); $i++)
{
$k = $i % $len;
$code .= $string[$i] ^ $key[$k];
}
$code = $action == 'DECODE' ? $code : base64_encode($code);
return $code;
}
//转向目标接口
function _Interface(){
$this->db->Close();
$this->passport_api = $this->passport_api."?action=".$this->action;
$this->passport_api .= "&userdb=".rawurlencode($this->encode)."&forward=".rawurlencode($this->forward)."&verify=".rawurlencode($this->verify);
header("Location: ".$this->passport_api);
exit();
}
}
?> | zyyhong | trunk/jiaju001/news/member/passport/pw.passport.class.php | PHP | asf20 | 3,481 |
<?php
/*-------------------------------------------
通行站反向整合接口远程调用文件,会员专用版
本接口不需要导入第三方程序的用户和密码信息,系统会自动判断和生成
作者: IT柏拉图 最后修改日期 2007-12-07
//**********************************************************************
本文件仅作为网关供远程调用
请使用或参考 pp_dederemote_interface_new.php 提供的接口函数进行整合编程
-----------------------------------------*/
require_once(dirname(__FILE__)."/../../include/config_base.php");
header("Content-Type: text/html; charset=utf-8");
//使用通行证的用户ID的区别符号,如果原DEDE系统无用户数据的不需要理会,否则可以加 @pp 之类的识别
$ppName = "";
if($cfg_pp_isopen = 0){
echo "系统没开启通行证功能,禁止远程调用!";
exit();
}
$cfg_ndsql = 0;
if(empty($rmdata)){
echo "没接收到任何远程数据!";
exit();
}
$keys = Array('userid','signstr','action');
foreach($keys as $v) $$v = '';
//解码GET字符串
$rmdata = base64_decode($rmdata);
$datas = explode('&',$rmdata);
foreach($datas as $ky){
$nkys = explode('=',$ky);
if(in_array($nkys[0],$keys) && isset($nkys[1])) ${$nkys[0]} = urldecode($nkys[1]);
}
$ntime = time();
if($action!='exit'){
//验证证书
if($userid==''||!TestStringSafe($userid)){
echo "用户ID为空或存在非法字符串!".$oldrmdata;
exit();
}
if(strlen($userid)>24){
echo "用户ID长度不能超过24位!";
exit();
}
$testSign = substr(md5($userid.$cfg_cookie_encode),0,24);
if($testSign!=$signstr){
echo "证书验证失败!";
exit();
}
}
//注解里的function仅方便UltraEdit索引,并无其它意义
/*--------------------------------
会员注册
function __UserReg()
---------------------------------*/
if($action=='reg'){
Z_OpenSql();
$userpwd = chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).mt_rand(1000,9999).chr(mt_rand(ord('A'),ord('Z')));
$userpwd = GetEncodePwd($userpwd);
$loginip = Z_GetIP();
$ppuserid = $userid.$ppName;
$uname = $ppuserid;
$inQuery1 = "
INSERT INTO `#@__member` (`userid` , `pwd` , `type` , `uname` , `membertype` , `uptime` , `exptime` ,
`money` , `email` , `jointime` , `joinip` , `logintime` , `loginip` ,
`c1` , `c2` , `c3` , `matt` , `guestbook` , `spaceshow` , `pageshow` , `spacestyle` ,
`spacename` , `spaceimage` , `news` , `mybb` , `listnum` , `scores` )
VALUES ('$ppuserid', '$userpwd', '0', '$uname', '10', '0', '0',
'0', '', '$ntime', '$loginip', '$ntime', '$loginip',
'0', '0', '0', '0', '0', '0', '0', '',
'', '', '', '', '20', '1000');
";
$cfg_ndsql->ExecuteNoneQuery($inQuery);
$id = $cfg_ndsql->GetLastID();
if($id>0){
$inQuery2 = "
INSERT INTO `#@__member_perinfo` (`id`, `uname` , `sex` , `birthday` , `weight` ,`height` , `job` , `province` , `city` , `myinfo` ,
`tel` , `oicq` , `homepage` , `showaddr` ,`address` , `fullinfo`)
VALUES ('$id','$uname', '', '0000-00-00', '0','0', '0', '0', '0', '0' ,
'0' , '0' , '0' ,'0','0','');
";
$cfg_ndsql->ExecuteNoneQuery($inQuery);
}
$row = $cfg_ndsql->GetOne("Select ID From #@__member where userid like '{$userid}$ppName' ");
$ID = $row['ID'];
Z_CloseSql();
echo 'OK!'.$ID;
exit();
}
/*--------------------------------
会员登录
function __UserLogin()
---------------------------------*/
else if($action=='login'){
Z_OpenSql();
$row = $cfg_ndsql->GetOne("Select ID,pwd From #@__member where userid like '{$userid}$ppName' ");
$loginip = Z_GetIP();
if(!is_array($row)){
$userpwd = chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).mt_rand(1000,9999).chr(mt_rand(ord('A'),ord('Z')));
$userpwd = GetEncodePwd($userpwd);
$ppuserid = $userid.$ppName;
$uname = $ppuserid;
$inQuery1 = "
INSERT INTO `#@__member` (`userid` , `pwd` , `type` , `uname` , `membertype` , `uptime` , `exptime` ,
`money` , `email` , `jointime` , `joinip` , `logintime` , `loginip` ,
`c1` , `c2` , `c3` , `matt` , `guestbook` , `spaceshow` , `pageshow` , `spacestyle` ,
`spacename` , `spaceimage` , `news` , `mybb` , `listnum` , `scores` )
VALUES ('$ppuserid', '$userpwd', '0', '$uname', '10', '0', '0',
'0', '', '$ntime', '$loginip', '$ntime', '$loginip',
'0', '0', '0', '0', '0', '0', '0', '',
'', '', '', '', '20', '1000');
";
$cfg_ndsql->ExecuteNoneQuery($inQuery);
$id = $cfg_ndsql->GetLastID();
if($id>0){
$inQuery2 = "
INSERT INTO `#@__member_perinfo` (`id`, `uname` , `sex` , `birthday` , `weight` ,`height` , `job` , `province` , `city` , `myinfo` ,
`tel` , `oicq` , `homepage` , `showaddr` ,`address` , `fullinfo`)
VALUES ('$id','$uname', '', '0000-00-00', '0','0', '0', '0', '0', '0' ,
'0' , '0' , '0' ,'0','0','');
";
$cfg_ndsql->ExecuteNoneQuery($inQuery);
}
$row = $cfg_ndsql->GetOne("Select ID,pwd From #@__member where userid like '$userid' ");
}
$ID = $row['ID'];
$cfg_ndsql->ExecuteNoneQuery("update #@__member set logintime='$ntime',loginip='$loginip' where ID='$ID' ");
Z_CloseSql();
echo 'OK!'.$ID;
exit();
}
/*--------------------------------
退出系统
function __UserExit()
---------------------------------*/
else if($action=='exit'){
echo 'OK!0';
exit();
}
/*--------------------------------
无法识别远程动作
function __ActionError()
---------------------------------*/
else{
echo "无法识别你的动作!";
exit();
}
//其它功能如函数
function Z_OpenSql(){
global $cfg_ndsql;
if(!$cfg_ndsql) $cfg_ndsql = new DedeSql(false);
}
function Z_CloseSql(){
global $cfg_ndsql;
if($cfg_ndsql) $cfg_ndsql->Close();
}
function Z_GetIP(){
if(!empty($_SERVER["HTTP_CLIENT_IP"])) $cip = $_SERVER["HTTP_CLIENT_IP"];
else if(!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) $cip = $_SERVER["HTTP_X_FORWARDED_FOR"];
else if(!empty($_SERVER["REMOTE_ADDR"])) $cip = $_SERVER["REMOTE_ADDR"];
else $cip = "无法获取!";
return $cip;
}
?> | zyyhong | trunk/jiaju001/news/member/passport/pp_dederemote_new.php | PHP | asf20 | 6,508 |
<?php
/*-------------------------------------------
通行站反向整合接口远程调用文件
(应用于其它系统整合Dedecms--即是使用其它系统作为登录、注册主入口)
作者: IT柏拉图 最后修改日期 2007-12-07
本文件用于整合ASP类的系统(字串没有使用base64加密)
//**********************************************************************
本文件仅作为网关供远程调用
请使用或参考 pp_dederemote_interface.asp 提供的接口函数进行整合编程
-----------------------------------------*/
require_once(dirname(__FILE__)."/../../include/config_base.php");
header("Content-Type: text/html; charset=utf-8");
if($cfg_pp_isopen = 0){
echo "系统没开启通行证功能,禁止远程调用!";
exit();
}
$cfg_ndsql = 0;
if(empty($rmdata)){
echo "没接收到任何远程数据!";
exit();
}
$keys = Array('userid','userpwd','signstr','newuserpwd','action','email','sex','uname','exptime');
foreach($keys as $v) $$v = '';
//解码GET字符串
$datas = explode('&',$rmdata);
foreach($datas as $ky){
$nkys = explode('=',$ky);
if(in_array($nkys[0],$keys) && isset($nkys[1])) ${$nkys[0]} = urldecode($nkys[1]);
}
$ntime = time();
if($action!='exit'){
//验证证书
if($userid==''||!TestStringSafe($userid)){
echo "用户ID为空或存在非法字符串!".$oldrmdata;
exit();
}
if(strlen($userid)>24){
echo "用户ID长度不能超过24位!";
exit();
}
$testSign = substr(md5($userid.$cfg_cookie_encode),0,24);
if($testSign!=$signstr){
echo "证书验证失败!";
exit();
}
}
//注解里的function仅方便UltraEdit索引,并无其它意义
/*--------------------------------
会员注册
function __UserReg()
---------------------------------*/
if($action=='reg'){
if($userpwd==''||!TestStringSafe($userpwd)){
echo "用户密码为空或存在非法字符串!";
exit();
}
if(strlen($userpwd)>24){
echo "用户密码长度不能超过24位!";
exit();
}
Z_OpenSql();
$row = $cfg_ndsql->GetOne("Select ID,pwd From #@__member where userid like '$userid' ");
//如果已经存在用户名,检测密码是否正确,如果密码正确,则返回登录信息,否则不允许注册
if(is_array($row)){
$userpwd = GetEncodePwd($userpwd);
$ID = $row['ID'];
$pwd = $row['pwd'];
Z_CloseSql();
if($userpwd != $pwd){
echo "用户ID:{$userid} 已存在,请使用其它用户名!";
exit();
}else{
$backString = $ID;
echo 'OK!'.$backString;
exit();
}
}
$userpwd = GetEncodePwd($userpwd);
$loginip = Z_GetIP();
$uname = $ppuserid;
$inQuery1 = "
INSERT INTO `#@__member` (`userid` , `pwd` , `type` , `uname` , `membertype` , `uptime` , `exptime` ,
`money` , `email` , `jointime` , `joinip` , `logintime` , `loginip` ,
`c1` , `c2` , `c3` , `matt` , `guestbook` , `spaceshow` , `pageshow` , `spacestyle` ,
`spacename` , `spaceimage` , `news` , `mybb` , `listnum` , `scores` )
VALUES ('$ppuserid', '$userpwd', '0', '$uname', '10', '0', '0',
'0', '', '$ntime', '$loginip', '$ntime', '$loginip',
'0', '0', '0', '0', '0', '0', '0', '',
'', '', '', '', '20', '1000');
";
$cfg_ndsql->ExecuteNoneQuery($inQuery);
$id = $cfg_ndsql->GetLastID();
if($id>0){
$inQuery2 = "
INSERT INTO `#@__member_perinfo` (`id`, `uname` , `sex` , `birthday` , `weight` ,`height` , `job` , `province` , `city` , `myinfo` ,
`tel` , `oicq` , `homepage` , `showaddr` ,`address` , `fullinfo`)
VALUES ('$id','$uname', '', '0000-00-00', '0','0', '0', '0', '0', '0' ,
'0' , '0' , '0' ,'0','0','');
";
$cfg_ndsql->ExecuteNoneQuery($inQuery);
}
$row = $cfg_ndsql->GetOne("Select ID From #@__member where userid like '$userid' ");
if(!is_array($row)){
Z_CloseSql();
echo "系统出错,无法完成注册,请联系管理员!";
exit();
}
$ID = $row['ID'];
Z_CloseSql();
$backString = $ID;
echo 'OK!'.$backString;
exit();
}
/*--------------------------------
检查是否存在用户名
function __UserTest()
---------------------------------*/
else if($action=='test'){
Z_OpenSql();
$row = $cfg_ndsql->GetOne("Select count(ID) as dd From #@__member where userid like '$userid' ");
if(!is_array($row)){
Z_CloseSql();
echo "系统出错,无法完成注册,请联系管理员!";
exit();
}
if($row['dd']>0){
Z_CloseSql();
echo "用户ID已存在!";
exit();
}
Z_CloseSql();
echo 'OK!';
exit();
}
/*--------------------------------
会员登录
function __UserLogin()
---------------------------------*/
else if($action=='login'){
Z_OpenSql();
$row = $cfg_ndsql->GetOne("Select ID,pwd From #@__member where userid like '$userid' ");
if(!is_array($row)){
Z_CloseSql();
echo "用户名不存在,无法登录本系统!";
exit();
}
if(strlen($userpwd)>24){
echo "用户密码长度不能超过24位!";
exit();
}
$userpwd = GetEncodePwd($userpwd);
$ID = $row['ID'];
$pwd = $row['pwd'];
if($userpwd != $pwd){
Z_CloseSql();
echo "密码错误!";
exit();
}
$loginip = Z_GetIP();
$cfg_ndsql->ExecuteNoneQuery("update #@__member set logintime='$ntime',loginip='$loginip' where ID='$ID' ");
Z_CloseSql();
$backString = $ID;
echo 'OK!'.$backString;
exit();
}
/*--------------------------------
更改密码
function __UserEdit()
---------------------------------*/
else if($action=='edit'){
if($newuserpwd==''||!TestStringSafe($newuserpwd)){
echo "用户密码为空或存在非法字符串!";
exit();
}
if(strlen($newuserpwd)>24){
echo "用户密码长度不能超过24位!";
exit();
}
$newuserpwd = GetEncodePwd($newuserpwd);
Z_OpenSql();
$cfg_ndsql->ExecuteNoneQuery("Update #@__member set pwd='$newuserpwd' where userid like '$userid' ");
Z_CloseSql();
echo 'OK!';
}
/*--------------------------------
退出系统
function __UserExit()
---------------------------------*/
else if($action=='exit'){
$backString = "0";
echo 'OK!'.$backString;
exit();
}
/*--------------------------------
无法识别远程动作
function __ActionError()
---------------------------------*/
else{
echo "无法识别你的动作!";
exit();
}
//其它功能如函数
function Z_OpenSql(){
global $cfg_ndsql;
if(!$cfg_ndsql) $cfg_ndsql = new DedeSql(false);
}
function Z_CloseSql(){
global $cfg_ndsql;
if($cfg_ndsql) $cfg_ndsql->Close();
}
function Z_GetIP(){
if(!empty($_SERVER["HTTP_CLIENT_IP"])) $cip = $_SERVER["HTTP_CLIENT_IP"];
else if(!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) $cip = $_SERVER["HTTP_X_FORWARDED_FOR"];
else if(!empty($_SERVER["REMOTE_ADDR"])) $cip = $_SERVER["REMOTE_ADDR"];
else $cip = "无法获取!";
return $cip;
}
?> | zyyhong | trunk/jiaju001/news/member/passport/pp_dederemote_asp.php | PHP | asf20 | 7,009 |
@charset "utf-8";
/* -- 全局定位 --*/
* { margin:0px auto; padding:0px; font-size:12px; font-weight:normal; list-style-type:none; }
html, body { margin:auto; padding:0px;background-color:#dddfa5; text-align:center; }
#container { margin:auto; width:100%; height:100%; }
.login_button{ background:url(../images/button.gif) repeat-x; width:89px; height:30px; text-align:center; font-size:12px; color:#676767; line-height:30px; border:0;}
.login_button a{ text-decoration:none; font-size:12px; color:#676767;}
.login_button a:hover{font-size:12px; color:#ac0000;}
.login_button01{ background:url(../images/button01.gif) repeat-x; width:62px; height:30px; text-align:center; font-size:12px; color:#676767; line-height:30px; border:0;}
.login_button01 a{ text-decoration:none; font-size:12px; color:#676767;}
.login_button01 a:hover{font-size:12px; color:#ac0000;}
.clear { clear:both; }
/*--登录页面--*/
#login_header{ width:100%; }
.login_topbg{ width:760px; margin-top:50px; }
.login_topleft{ background:url(../images/login_topleft.gif) no-repeat; width:9px; height:40px; float:left; }
.login_topmiddle{ background:url(../images/login_topmiddle.gif) repeat-x; width:742px; height:40px; float:left; }
.login_topright{ background:url(../images/login_topright.gif) no-repeat; width:9px; height:40px; float:left; }
.login_topmiddle_left {background:url(../images/login_topmiddle_left.gif) no-repeat; width:95px; height:29px; margin:11px 0 0 15px;; float:left;}
.login_topmiddle_right{ background:url(../images/login_topmiddle_right.gif) no-repeat; width:99px; height:16px; float:right; margin:12px 12px 0 0;}
#login_main{ width:100%; }
.login_main_border{ width:760px; background:#ffffff;padding-top:10px; }
.login_main_white{ background-color:#ffffff; text-align:center; }
.login_main_title{background:url(../images/login_main_title.gif) no-repeat;width:732px; height:11px; font-size:0; }
.login_main_text{ width:730px;border-left:1px solid #a3a561;border-right:1px solid #a3a561;border-bottom:1px solid #a3a561; margin-bottom:30px;}
.login_main_foum{ width:730px; margin-bottom:5px; border-bottom:1px dotted #a3a561; }
.login_main_foum1{ width:730px; }
.login_label {width:98px; height:18px; background-color:#f5ffd5; border:1px solid #a3a561; color:#636619; line-height:18px; }
.login_label1 {width:48px; height:18px; background-color:#f5ffd5; border:1px solid #a3a561; color:#636619; line-height:18px; }
.login_label2 {width:150px; height:18px; background-color:#f5ffd5; border:1px solid #a3a561; color:#636619; line-height:18px; }
.login_main_text_label { height:25px; color:#636619; line-height:25px; float:left; margin:10px 0 10px 10px; }
.login_main_text_label1 { height:25px; width:60px; line-height:25px; float:left;margin:10px 0 10px 10px; }
.login_main_text_label1 a{ color:#a3a561; text-decoration:none; }
.login_main_text_label1 a:hover{ color:#636619;}
.login_main_text_label2 { height:30px; width:62px; line-height:30px; float:left;margin:5px 0 10px 10px; }
.login_main_text_label3 { height:30px; width:90px; line-height:30px; float:left;margin:5px 0 10px 10px; }
.login_notice { width:710px; padding-left:20px; color:#636619; height:25px; line-height:25px; text-align:left; }
.login_notice span{ font-weight:bold; }
.login_main_bottom {background:url(../images/login_main_bottom.gif) no-repeat; width:760px; height:10px; font-size:0; }
#login_footer { width:100%; height:30px; color:#636619; text-align:center; line-height:30px; margin-top:10px;}
/*--注册页面--*/
.login_main_announce { width:700px; background-color:#f5ffd5; border:1px solid #cdde97; padding:15px; color:#6a6c31; text-align:left; line-height:20px; margin-bottom:15px; }
.login_main_announce h1{ font-size:14px; font-weight:bold; }
.login_main_announce h2{ font-size:12px; text-indent:20px; }
.reg_main_title{background:url(../images/reg_main_title.gif) no-repeat;width:732px; height:11px; font-size:0; }
.reg_topmiddle_left {background:url(../images/reg_topmiddle_left.gif) no-repeat; width:95px; height:29px; margin:11px 0 0 15px;; float:left;}
.reg_label {width:168px; height:18px; background-color:#f5ffd5; border:1px solid #a3a561; color:#636619; line-height:18px; margin-right:5px; }
.reg_main_text_label { height:25px; color:#636619; line-height:25px; float:left; margin:10px 0 0 10px; width:300px; text-align:left; }
.reg_main_text_label a{ color:#636619;}
.reg_main_text_label a:hover{ color:#e30000;}
.reg_main_text_label1 { height:25px; color:#636619; line-height:25px; float:left; margin:10px 0 0 10px; width:300px; }
.reg_main_text_label2 { height:25px; color:#636619; line-height:25px; float:left;margin:5px 0 0 10px;width:620px; text-align:left; text-indent:25px; }
.reg_main_text_label3 { height:25px; color:#636619; line-height:25px; float:left; margin:10px 0 0 10px; width:100px; padding-left:25px; }
.reg_main_text_label4 { height:35px; color:#636619; line-height:35px; float:left; margin:10px 0 20px 10px; width:100px; padding-left:25px; } | zyyhong | trunk/jiaju001/news/member/css/style.css | CSS | asf20 | 5,019 |
/* CSS Document */
/* -- 全局定义 --*/
* {margin:0px; padding:0px; font-size:12px;}
html, body { margin:0px; padding:0px;background-color:#fff;}
#container { width:100%; height:100%;margin-right:auto;margin-left:auto; }
img{ border:0px;}
.clear { clear:both; }
/*头部定义*/
#header{width:100%;margin-right:auto;margin-left:auto; }
#dzh_header{width:900px;margin-right:auto;margin-left:auto; margin-top:50px;}
#dzh_logo{width:400px; background:url(../images/dzh_logo.gif) no-repeat 10px 0px; height:28px; float:left;}
#dzh_toptext{width:480px; text-align:right; height:28px; line-height:28px;float:left; color:#74b029;font-size:12px; padding-right:20px;}
#dzh_toptext a{ color:#74b029; text-decoration:none; font-size:12px;}
#dzh_toptext a:hover{ color:#660066;}
#dzh_menu{background:url(../images/dzhmenu_bg.gif) repeat-x; height:64px; width:900px;margin-right:auto;margin-left:auto;margin-top:10px;}
#dzh_menu ul{list-style:none;}
#dzh_menu li{ font-size:14px; color:#fff; text-align:center; font-weight:bold; float:left; width:150px; line-height:64px;}
#dzh_menu li a{ color:#fff;font-size:14px; font-weight:bold; text-decoration:none;}
#dzh_menu li a:hover{color:#366000;}
.dzh_index{ background:url(../images/dzh_index.gif) no-repeat 15px 14px;height:64px;}
.dzh_class{ background:url(../images/dzh_class.gif) no-repeat 0px 14px;height:64px;}
.dzh_group{ background:url(../images/dzh_group.gif) no-repeat 0px 14px;height:64px;}
.dzh_ask{ background:url(../images/dzh_ask.gif) no-repeat 0px 14px;height:64px;}
.dzh_book{ background:url(../images/dzh_book.gif) no-repeat 0px 14px;height:64px;}
.dzh_yp{ background:url(../images/dzh_yp.gif) no-repeat 0px 14px;height:64px;}
.dzh_search{width:900px;margin-right:auto;margin-left:auto;}
.dzh_search_left{width:6px; height:35px; background:url(../images/dzh_seachleft.gif) no-repeat; float:left;}
.dzh_search_right{width:6px; height:35px; background:url(../images/dzh_seachright.gif) no-repeat;float:left;}
.dzh_search_text{width:888px; height:32px; border-bottom:1px solid #cbe5ae; background-color:#ecfdd9;float:left; line-height:34px;color:#747474; font-size:12px; text-align:center; padding-top:2px; }
.dzh_searchtxt{ height:16px; border:1px solid #b4d98c; background-color:#fff; line-height:16px; width:200px; color:#539500; }
.search_button { background:url(../images/dzh_seachbuuton.gif) no-repeat 0px 6px; height:28px;width:48px; border:0px; vertical-align:1%;}
/*中间定义*/
#dzh_main{width:100%;}
#dzh_maincnter{width:900px;margin-left:auto;margin-right:auto;}
#dzh_left{width:219px;float:left; margin-right:10px;}
#dzh_right{width:671px; float:left; margin-top:10px;}
.dzh_login{width:219px; margin-top:10px;}/*--左边开始--*/
.dzh_login_title{background:url(../images/dzhleft_logintop.gif) no-repeat; height:25px;}
.dzh_login_title ul{list-style:none; width:219px;}
.dzh_login_title li{background:url(../images/dzhleft_login.gif) no-repeat 10px 3px;height:25px; color:#498500; font-weight:bold; font-size:12px; line-height:25px; width:219px; text-indent:30px;}
.dzh_login_form{width:217px; border-bottom:1px solid #bfe397; border-left:1px solid #bfe397; border-right:1px solid #bfe397; font-size:0px; padding-bottom:10px; padding-top:10px;}
.dzh_login_form dd{ font-size:12px;}
.dzh_name{width:67px; color:#666; line-height:28px; height:28px; float:left; text-align:right;}
.dzh_formlabel{width:150px; color:#666; line-height:28px; height:28px;float:left; }
.dzh_formlabel1{width:75px; line-height:28px; height:28px;float:left;}
.dzh_label {border:1px solid #c8c8c8; height:16px; width:120px; color:#999;}
.dzh_label1 {border:1px solid #c8c8c8; height:16px; width:60px; color:#999;}
.dzh_loginbutton{background:url(../images/dzh_loginbg.gif) no-repeat 20px 6px; height:30px;width:100px; border:0px; font-size:12px;font-weight:700; color:#498500; line-height:35px;}
.dzh_memberlist{width:217px;border:1px solid #bfe397; background-color:#f9fff3; margin-top:10px; }
.dzh_membertitle{background:url(../images/gif_57_059.gif) no-repeat 10px 6px; height:30px; color:#498500; font-size:12px; font-weight:700; border-bottom:1px solid #bfe397; text-indent:45px; line-height:30px; }
.rbox{width:217px;overflow:hidden; height:149px;}
.paihang{width:217px;background:url(../images/no_list_bg_1.gif) 15px 1px repeat-y;}
.paihang dl{width:217px;background:url(../images/no_list_1.gif) 15px 0px no-repeat;display:block;clear:both;padding-bottom:5px;}
.paihang dl dd{height:21px;width:209px;display:block;clear:both;padding-top:9px;margin:0px 4px 0px 4px;background: url(../images/hr_1.gif) center bottom repeat-x;}
.qalist dl dd span{display:block;}
.paihang dl dd .name{float:left;margin-left:50px; font-size:12px;}
.paihang dl dd .name a{color:#376300; text-decoration:none;}
.paihang dl dd .name a:hover{color:#000; text-decoration:none;}
.dzh_companytitle{background:url(../images/gif_57_060.gif) no-repeat 10px 6px; height:30px; color:#498500; font-size:12px; font-weight:700; border-bottom:1px solid #bfe397; text-indent:45px; line-height:30px; }
.dzh_grouptitle{background:url(../images/gif_57_061.gif) no-repeat 10px 6px; height:30px; color:#646464; font-size:12px; font-weight:700; border-bottom:1px solid #d4d4d4; text-indent:45px; line-height:30px; }
.dzh_grouplist{width:217px;border:1px solid #d4d4d4; background-color:#f8f8f8; margin-top:10px; margin-bottom:10px; }
.rbox1{width:217px;overflow:hidden; height:149px;}
.paihang1{width:217px;background:url(../images/no_list_bg_2.gif) 15px 1px repeat-y;}
.paihang1 dl{width:217px;background:url(../images/no_list_2.gif) 15px 0px no-repeat;display:block;clear:both;padding-bottom:5px;}
.paihang1 dl dd{height:21px;width:209px;display:block;clear:both;padding-top:9px;margin:0px 4px 0px 4px;background: url(../images/hr_1.gif) center bottom repeat-x;}
.qalist dl dd span{display:block;}
.paihang1 dl dd .name{float:left;margin-left:50px; font-size:12px;}
.paihang1 dl dd .name a{color:#999; text-decoration:none;}
.paihang1 dl dd .name a:hover{color:#000; text-decoration:none;}
.dzh_hottopic{border:1px solid #dedede; width:328px; background:url(../images/dzh_titlebg.gif) repeat-x; float:left; }/*--右边开始--*/
.dzh_rightform{width:671px; line-height:25px;}
.dzh_hottopic ul{list-style:none;}
.dzh_hottopic li{ background:url(../images/gif53_032.gif) no-repeat 10px 7px;height:30px; line-height:30px; color:#7c7c7c; font-size:14px; font-weight:700; text-indent:30px; }
.dzh_hottopic dd{ height:20px; line-height:20px; background:url(../images/ffff.gif) no-repeat 20px 5px; color:#737373; text-indent:35px;width:328px; overflow:hidden;white-space: nowrap;text-overflow:ellipsis; }
.dzh_hottopic dd a{ color:#737373; text-decoration:none;}
.dzh_hottopic dd a:hover{ color:#ff72ae;}
.dzh_hottopic dl{ margin-top:10px; margin-bottom:10px;}
.dzh_asktopic{border:1px solid #dedede; width:328px; background:url(../images/dzh_titlebg.gif) repeat-x; float:right; margin-left:11px; }
.dzh_asktopic ul{list-style:none;}
.dzh_asktopic li{ background:url(../images/gif53_032.gif) no-repeat 10px 7px;height:30px; line-height:30px; color:#7c7c7c; font-size:14px; font-weight:700; text-indent:30px; }
.dzh_asktopic dl{ margin-top:10px; padding-bottom:30px;}
.dzh_asktp{ height:20px; line-height:20px; background:url(../images/ffff.gif) no-repeat 20px 5px; color:#737373; text-indent:35px; width:250px; overflow:hidden; float:left; text-overflow:ellipsis;white-space: nowrap;}
.dzh_asktp a{ color:#737373; text-decoration:none;}
.dzh_asktp a:hover{ color:#ff72ae;}
.dzh_askaa span{ color:#498500;}
.dzh_askaa{width:68px; float:left; line-height:20px; height:20px; text-align:right; padding-right:10px; color:#737373;}
/*--小说连载开始--*/
.dzh_mainbook{ width:328px; background:url(../images/dzh_tt.gif) no-repeat 10px 7px; color:#498500; margin-top:10px; font-weight:700; float:left;}
.dzh_mainbook span{padding-left:30px; font-size:14px; font-weight:700px;}
.dzh_mainbook li{ height:20px; line-height:20px; background:url(../images/gggg.gif) no-repeat 20px 5px; color:#737373; text-indent:20px; width:300px; overflow:hidden;white-space: nowrap;text-overflow:ellipsis; font-weight:300; text-indent:35px; }
.dzh_mainbook li a{ color:#498500; text-decoration:none;}
.dzh_mainbook li a:hover{ color:#ff72ae;}
.dzh_mainbook ul{ padding-top:10px; padding-bottom:10px; border:1px solid #bfe397; width:300; }
/*--最新文章开始--*/
.dzh_article{ width:328px; background:url(../images/dzh_tt.gif) no-repeat 10px 7px; color:#498500; margin-top:10px; font-weight:700;float:right; }
.dzh_article span{padding-left:30px; font-size:14px; font-weight:700px;}
.dzh_article li{ height:20px; line-height:20px; background:url(../images/gggg.gif) no-repeat 20px 5px; color:#737373; text-indent:20px; width:300px; overflow:hidden;white-space: nowrap;text-overflow:ellipsis; font-weight:300; text-indent:35px; }
.dzh_article li a{ color:#498500; text-decoration:none;}
.dzh_article li a:hover{ color:#ff72ae;}
.dzh_article ul{ padding-top:10px; padding-bottom:10px; border:1px solid #bfe397; width:300; }
/*--最新图集--*/
#dzh_photo{width:668px; float:left; margin-top:10px; background:url(../images/dzh_titlebg.gif) repeat-x; border:1px solid #dedede; }
#dzh_photo ul{ border-bottom:1px solid #dedede; list-style:none;}
#dzh_photo li{ background:url(../images/gif53_034.gif) no-repeat 10px 7px; font-size:14px; font-weight:700; color:#7c7c7c; text-indent:30px; height:30px; line-height:30px;}
.dzh_photoimg{width:126px; float:left;}
.dzh_photoimg dl{ padding-bottom:10px; padding-top:20px;}
.dzh_photoimg dd{width:126px;}
.dzhright{text-align:right;}
.dzhcenter{text-align:center; padding-top:5px;}
.dzhcenter a{ color:#7c7c7c; text-decoration:none;}
.dzhcenter a:hover{ color:#ff72ae;}
/*--底部信息--*/
#dzh_footer{width:100%; height:100px;}
#dzh_footer_form {width:898px; margin:auto; background-color:#f9fff3; border:1px solid #c1e49a; color:#498500; margin:10px 0px 20px 0px; padding:10px 0px 10px 0px; }
#dzh_footer_form li{ width:898px; text-align:center; height:20px; line-height:20px; } | zyyhong | trunk/jiaju001/news/member/css/style-index.css | CSS | asf20 | 10,128 |
@charset "utf-8";
/* 个人空间部分 */
/* -- 全局定位 --*/
* { margin:0px auto; padding:0px; font-size:12px; font-weight:normal; list-style-type:none; }
html, body{ margin:auto; padding:0px;background-color:#a7cce9; text-align:center; }
#container{ margin:auto; width:100%; height:100%;}
.clear{ clear:both; font-size:0px; }
.title{font-size:14px; color:#444; font-weight:bold;}
img{border:0px;}
/*头部定位*/
#spaceheader{width:100%; margin-top:20px; }
#space_top{width:760px;background:url(../images/space_logo.gif) no-repeat 10px 0px;height:48px;}
/*中间定位*/
#spacemain{ width:100%; margin-top:10px; }
#space_main{ width:760px;}
#space_left{ width:210px; float:left; }
#space_right{ width:540px; margin-left:10px; float:left; }
.space_form{ width:210px; margin-bottom:8px;}
.space_title{ background:url(../images/space_title.gif) no-repeat; height:32px; line-height:32px;}
.space_title ul{list-style:none; text-align:left;}
.space_title li{background:url(../images/space_info.gif) no-repeat 15px 6px; height:32px; font-weight:bold; color:#005294; text-indent:40px;}
.space_text{width:208px; border-bottom:1px solid #6294bb; border-left:1px solid #6294bb; border-right:1px solid #6294bb; background-color:#def0ff; padding:15px 0px 10px 0px; }
.space_info_img{width:169px; border:1px solid #b5d2ea; height:144px; }
.space_text_font{width:169px; color:#444; margin-top:8px; text-align:left; line-height:20px; margin-bottom:10px; }
.space_name {width:121px; float:left}
.space_dangan{ width:48px; float:left;color:#005294;}
.space_dangan a{color:#005294;}
.space_dangan a:hover{color:#ff72ae;}
.space_article{width:61px;float:left;}
.space_article a{color:#005294;}
.space_article a:hover{color:#ff72ae;}
.space_photo{width:40px;float:left;}
.space_photo a{color:#005294;}
.space_photo a:hover{color:#ff72ae;}
.space_friend{width:48px;float:right;}
.space_friend a{color:#005294;}
.space_friend a:hover{color:#ff72ae;}
.space_files{ background:url(../images/space_title.gif) no-repeat; height:32px; line-height:32px;}
.space_files ul{list-style:none; text-align:left;}
.space_files li{background:url(../images/space_files.gif) no-repeat 15px 6px; height:32px; font-weight:bold; color:#005294; text-indent:40px;}
.space_text_font ul{list-style:none;}
.space_text_font li{background:url(../images/space_re.gif) no-repeat 10px 5px; height:25px; line-height:25px; text-indent:35px; }
.space_text_font li a{color:#005294; text-decoration:none;}
.space_text_font li a:hover{color:#ff72ae;}
.space_link{ background:url(../images/space_title.gif) no-repeat; height:32px; line-height:32px;}
.space_link ul{list-style:none; text-align:left;}
.space_link li{background:url(../images/space_link.gif) no-repeat 15px 8px; height:32px; font-weight:bold; color:#005294; text-indent:40px;}
.space_link_font{width:169px; color:#444; margin-top:8px; text-align:left; line-height:20px; margin-bottom:10px; }
.space_link_font ul{list-style:none;}
.space_link_font li{width:84px; height:20px; color:#005294; float:left; }
.space_link_font li a{color:#005294;}
.space_notice{width:540px; margin-bottom:8px;}
.space_title01{ background:url(../images/space_title1.gif) no-repeat; height:32px; line-height:32px;}
.space_title01 ul{list-style:none; text-align:left;}
.space_title01 li{background:url(../images/space_notice.gif) no-repeat 15px 9px; height:32px; font-weight:bold; color:#005294; text-indent:40px;}
.space_notice_text{width:498px; border-bottom:1px solid #6294bb; border-left:1px solid #6294bb; border-right:1px solid #6294bb; background-color:#def0ff; padding:15px 20px 10px 20px; text-align:left; color:#005294; line-height:20px; }
.space_title02{ background:url(../images/space_title1.gif) no-repeat; height:32px; line-height:32px;}
.space_title02 ul{list-style:none; text-align:left;}
.space_title02 li{background:url(../images/space_news.gif) no-repeat 15px 7px; height:32px; font-weight:bold; color:#005294; text-indent:40px;}
.space_notice_text dl{ width:498px; border-bottom:1px dotted #b5d2ea; padding-bottom:5px; margin-top:5px; }
.space_dianji{width:100px; float:left;height:20px}
.space_biaoti{width:398px; float:left; height:20px }
.space_biaoti a{ color:#005294; text-decoration:none;}
.space_biaoti a:hover{color:#ff72ae;}
.space_news_text{width:498px; height:40px; line-height:40px; color:#005294; text-align:right;}
.space_news_text a{color:#005294; text-decoration:none;}
.space_news_text a:hover{color:#ff72ae;}
.space_footer{width:100%;}
.space_footer_bg{ background-color:#a5c6e1; height:46px; line-height:46px; color:#004074; width:758px; border:1px solid #6294bb; }
/*星级图标*/
.space_star_1{float:left;margin-top:3px;width:13px;height:11px;background:url(../images/space/heart.gif) repeat-x; }
.space_star_2{float:left;margin-top:3px;width:26px;height:11px;background:url(../images/space/heart.gif) repeat-x; }
.space_star_3{float:left;margin-top:3px;width:39px;height:11px;background:url(../images/space/heart.gif) repeat-x; }
.space_star_4{float:left;margin-top:3px;width:52px;height:11px;background:url(../images/space/heart.gif) repeat-x; }
.space_star_5{float:left;margin-top:3px;width:65px;height:11px;background:url(../images/space/heart.gif) repeat-x; }
.space_star_6{float:left;margin-top:1px;width:35px;height:15px;background:url(../images/space/heart-6.gif) repeat-x; }
.space_group_des{}
.space_group_des p{margin-top:10px; text-indent:10px;border-bottom:1px dotted #b5d2ea;height:60px;}
.space_viewthread_title{padding-left:6px;word-break:break-all;overflow:hidden;}
.space_viewthread_title a{ color:#005294; text-decoration:none;}
.space_viewthread_title a:hover{color:#ff72ae;}
#space_top a{color:#004074;text-decoration:none;}
#space_top a:hover{color:#ff72ae;} | zyyhong | trunk/jiaju001/news/member/css/space.css | CSS | asf20 | 5,805 |
<?php
require_once(dirname(__FILE__)."/../../include/pub_dedetag.php");
require_once(dirname(__FILE__)."/../../include/inc_custom_fields.php");
if(empty($selv)) $selv = '0';
function GetOptionList($selid=0,$userCatalog=0,$channeltype=0)
{
global $OptionArrayList,$channels,$dsql;
if(!is_object($dsql)) $dsql = new DedeSql(false);
$dsql->SetQuery("Select ID,typename From #@__channeltype ");
$dsql->Execute();
$channels = Array();
while($row = $dsql->GetObject()) $channels[$row->ID] = $row->typename;
$OptionArrayList = "";
$query = "Select ID,typename,ispart,channeltype,issend From #@__arctype where ispart<>2 And reID=0 order by sortrank asc ";
$dsql->SetQuery($query);
$dsql->Execute();
while($row=$dsql->GetObject())
{
if($row->channeltype==$channeltype && $row->issend==1){
if($row->ispart==0) $OptionArrayList .= "<option value='".$row->ID."' class='option3'>".$row->typename."</option>\r\n";
else if($row->ispart==1) $OptionArrayList .= "<option value='".$row->ID."' class='option2'>".$row->typename."</option>\r\n";
}
LogicGetOptionArray($row->ID,"─",$channeltype,$dsql);
}
return $OptionArrayList;
}
function LogicGetOptionArray($ID,$step,$channeltype,$dsql)
{
global $OptionArrayList,$channels;
$dsql->SetQuery("Select ID,typename,ispart,channeltype,issend From #@__arctype where reID='".$ID."' And ispart<>2 order by sortrank asc");
$dsql->Execute($ID);
while($row=$dsql->GetObject($ID)){
if($row->channeltype==$channeltype && $row->issend==1){
if($row->ispart==0) $OptionArrayList .= "<option value='".$row->ID."' class='option3'>$step".$row->typename."</option>\r\n";
else if($row->ispart==1) $OptionArrayList .= "<option value='".$row->ID."' class='option2'>$step".$row->typename."</option>\r\n";
}
LogicGetOptionArray($row->ID,$step."─",$channeltype,$dsql);
}
}
function GetTypeidSelMember($fname,$fv,$fbt,$channelid,$selv='0',$selname='请选择...',$opall=0){
global $cfg_mainsite,$cfg_phpurl,$cfg_cmspath;
$rstr = "<script language='javascript' src='{$cfg_phpurl}/plus.js'></script>\r\n";
$rstr .= "<input type=\"hidden\" name=\"$fv\" value=\"$selv\">\r\n";
$rstr .= "<input type=\"button\" name=\"$fbt\" value=\"$selname\"";
$rstr .= " style=\"height:21px;width:150px;border:0px;background-image:url({$cfg_phpurl}/img/ctbg.gif);padding-top:2px; background-color: transparent\"";
$rstr .= " onClick=\"SelectCatalog('$fname','$fv','$fbt',$channelid,'$opall','{$cfg_mainsite}{$cfg_cmspath}/include');\">\r\n";
return $rstr;
}
//获得一个附加表单
//-----------------------------
function GetFormItemA($ctag)
{
return GetFormItem($ctag,'member');
}
//---------------------------
//处理不同类型的数据
//---------------------------
function GetFieldValueA($dvalue,$dtype,$aid=0,$job='add',$addvar='')
{
return GetFieldValue($dvalue,$dtype,$aid,$job,$addvar,'member');
}
//获得带值的表单(编辑时用)
//-----------------------------
function GetFormItemValueA($ctag,$fvalue)
{
return GetFormItemValue($ctag,$fvalue,'member');
}
//载入自定义表单(用于发布)
function PrintAutoFieldsAdd(&$fieldset,$loadtype='autofield')
{
global $cfg_cookie_encode;
$dtp = new DedeTagParse();
$dtp->SetNameSpace("field","<",">");
$dtp->LoadSource($fieldset);
$dede_addonfields = "";
if(is_array($dtp->CTags))
{
foreach($dtp->CTags as $tid=>$ctag)
{
if($ctag->GetAtt('notsend') !='1' && ($loadtype!='autofield' || ($loadtype=='autofield' && $ctag->GetAtt('autofield')==1)) )
{
$dede_addonfields .= ( $dede_addonfields=='' ? $ctag->GetName().",".$ctag->GetAtt('type') : ";".$ctag->GetName().",".$ctag->GetAtt('type') );
echo GetFormItemA($ctag);
}
}
}
echo "<input type='hidden' name='dede_addonfields' value=\"".$dede_addonfields."\" />\r\n";
echo "<input type='hidden' name='dede_fieldshash' value=\"".md5($dede_addonfields.$cfg_cookie_encode)."\" />\r\n";
}
//载入自定义表单(用于编辑)
function PrintAutoFieldsEdit(&$fieldset,&$fieldValues,$loadtype='autofield')
{
global $cfg_cookie_encode;
$dtp = new DedeTagParse();
$dtp->SetNameSpace("field","<",">");
$dtp->LoadSource($fieldset);
$dede_addonfields = "";
if(is_array($dtp->CTags))
{
foreach($dtp->CTags as $tid=>$ctag)
{
if($ctag->GetAtt('notsend') !='1' && ($loadtype!='autofield' || ($loadtype=='autofield' && $ctag->GetAtt('autofield')==1)) )
{
$dede_addonfields .= ( $dede_addonfields=='' ? $ctag->GetName().",".$ctag->GetAtt('type') : ";".$ctag->GetName().",".$ctag->GetAtt('type') );
echo GetFormItemValueA($ctag,$fieldValues[$ctag->GetName()]);
}
}
}
echo "<input type='hidden' name='dede_addonfields' value=\"".$dede_addonfields."\" />\r\n";
echo "<input type='hidden' name='dede_fieldshash' value=\"".md5($dede_addonfields.$cfg_cookie_encode)."\" />\r\n";
}
?> | zyyhong | trunk/jiaju001/news/member/inc/inc_catalog_options.php | PHP | asf20 | 5,200 |
<?php
$spaceInfo = $dsql->GetOne("Select spacename,spaceimage,sex,c1,c2,spaceshow,logintime From #@__member where userid='$uid'; ");
?> | zyyhong | trunk/jiaju001/news/member/inc/inc_spacemain.php | PHP | asf20 | 138 |
<?php
if(!isset($cfg_registerGlobals)){ require_once(dirname(__FILE__)."/../../include/config_base.php"); }
//获得是否推荐的表述
//---------------------------------
function IsCommendArchives($iscommend)
{
if($iscommend==5) return "加粗";
else if($iscommend==11) return "推荐";
else if($iscommend==16) return "推荐加粗";
else return "无";
}
//获得推荐的标题
//---------------------------------
function GetCommendTitle($title,$iscommend)
{
if($iscommend==5) return "<b>$title</b>";
else if($iscommend==11) return "$title<font color='red'>(推荐)</font>";
else if($iscommend==16) return "<b>$title<font color='red'>(推荐)</font></b>";
else return "$title";
}
//更换颜色
//--------------------
$GLOBALS['RndTrunID'] = 1;
function GetColor($color1,$color2)
{
$GLOBALS['RndTrunID']++;
if($GLOBALS['RndTrunID']%2==0) return $color1;
else return $color2;
}
//检查图片是否存在
//-----------------------
function CheckPic($picname)
{
if($picname!="") return $picname;
else return "img/dfpic.gif";
}
//判断内容是否生成HTML
//-----------------------
function IsHtmlArchives($ismake)
{
if($ismake==1) return "已生成";
else if($ismake==-1) return "仅动态";
else return "<font color='red'>未生成</font>";
}
//获得内容的限定级别名称
//-------------------------
function GetRankName($arcrank)
{
global $arcArray;
if(!is_array($arcArray)){
$dsql = new DedeSql(false);
$dsql->SetQuery("Select * from #@__arcrank");
$dsql->Execute();
while($row = $dsql->GetObject()){ $arcArray[$row->rank]=$row->membername; }
$dsql->Close();
}
if(isset($arcArray[$arcrank])) return $arcArray[$arcrank];
else return "不限";
}
//判断内容是否为图片文章
//----------------------
function IsPicArchives($picname)
{
if($picname!="") return "<font color='red'>(图)</font>";
else return "";
}
?>
| zyyhong | trunk/jiaju001/news/member/inc/inc_list_functions.php | PHP | asf20 | 1,946 |
<?php
require_once(dirname(__FILE__)."/../../include/inc_channel_unit_functions.php");
function DelArc($aid,$onlyfile=false,$channelid=0)
{
global $dsql;
if(!is_object($dsql)) $dsql = new DedeSql(false);
$tables = GetChannelTable($dsql,$aid,'arc');
//读取文档信息
$arctitle = "";
$arcurl = "";
$arcQuery = "
Select a.ID,a.title,a.typeid,
a.ismake,a.senddate,a.arcrank,c.addtable,
a.money,t.typedir,t.typename,a.adminID,
t.namerule,t.namerule2,t.ispart,
t.moresite,t.siteurl,t.siterefer,t.sitepath
from `{$tables['maintable']}` a
left join `#@__arctype` t on a.typeid=t.ID
left join `#@__channeltype` c on c.ID=a.channel
where a.ID='$aid'
";
$arcRow = $dsql->GetOne($arcQuery);
if(!is_array($arcRow)) return false;
//删除数据库的内容
$rs = $dsql->ExecuteNoneQuery("Delete From `{$tables['maintable']}` where ID='$aid'");
if($rs){
$dsql->ExecuteNoneQuery("Delete From `#@__full_search` where aid='$aid'");
if($arcRow['addtable']!=""){
$dsql->ExecuteNoneQuery("Delete From `{$tables['addtable']}` where aid='$aid'");
}
$dsql->ExecuteNoneQuery("Delete From `#@__feedback` where aid='$aid'");
$dsql->ExecuteNoneQuery("Delete From `#@__memberstow` where arcid='$aid'");
}
//删除HTML
if($arcRow['ismake']==-1||$arcRow['arcrank']!=0
||$arcRow['typeid']==0||$arcRow['money']>0){
return true;
}
$arcurl = GetFileUrl($arcRow['ID'],$arcRow['typeid'],$arcRow['senddate'],$arcRow['title'],$arcRow['ismake'],
$arcRow['arcrank'],$arcRow['namerule'],$arcRow['typedir'],$arcRow['money'],false,'');
if(!ereg("\?",$arcurl)){
$truedir = GetTruePath($arcRow['siterefer'],$arcRow['sitepath']);
$htmlfile = $truedir.$arcurl;
if(file_exists($htmlfile) && !is_dir($htmlfile)) unlink($htmlfile);
$arcurls = explode(".",$arcurl);
$sname = $arcurls[count($arcurls)-1];
$fname = ereg_replace("(\.$sname)$","",$arcurl);
for($i=2;$i<=100;$i++){
$htmlfile = $truedir.$fname."_$i".".".$sname;
if(file_exists($htmlfile) && !is_dir($htmlfile)) unlink($htmlfile);
else break;
}
}
//删除文本文件
$ipath = $GLOBALS['cfg_cmspath']."/data/textdata/".(ceil($aid/5000))."/";
$filename = $GLOBALS['cfg_basedir'].$ipath."{$aid}.txt";
if(is_file($filename)) unlink($filename);
return true;
}
//获取真实路径
//--------------------------
function GetTruePath($siterefer,$sitepath)
{
if($GLOBALS['cfg_multi_site']=='Y'){
if($siterefer==1) $truepath = ereg_replace("/{1,}","/",$GLOBALS["cfg_basedir"]."/".$sitepath);
else if($siterefer==2) $truepath = $sitepath;
else $truepath = $GLOBALS["cfg_basedir"];
}else{
$truepath = $GLOBALS["cfg_basedir"];
}
return $truepath;
}
?> | zyyhong | trunk/jiaju001/news/member/inc/inc_batchup.php | PHP | asf20 | 2,909 |
<?php
require_once(dirname(__FILE__)."/../../include/pub_httpdown.php");
require_once(dirname(__FILE__)."/../../include/inc_photograph.php");
require_once(dirname(__FILE__)."/../../include/pub_dedetag.php");
require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php");
require_once(dirname(__FILE__)."/../../include/inc_tag_functions.php");
require_once(dirname(__FILE__)."/../../include/inc_custom_fields.php");
//------------------------------
//获取一个远程图片
//------------------------------
function GetRemoteImage($url,$uid=0)
{
global $title,$cfg_mb_rmdown,$cfg_photo_typenames,$cfg_ml;
if($cfg_mb_rmdown=='N') return '';
$cfg_uploaddir = $GLOBALS['cfg_user_dir'];
$cfg_basedir = $GLOBALS['cfg_basedir'];
$revalues = Array();
$revalues[0] = '';
$revalues[1] = '';
$revalues[2] = '';
$ok = false;
$htd = new DedeHttpDown();
$htd->OpenUrl($url);
$sparr = $cfg_photo_typenames;
if(!in_array($htd->GetHead("content-type"),$sparr)){
return "";
}else{
$imgUrl = $cfg_uploaddir."/".$cfg_ml->M_ID;
$imgPath = $cfg_basedir.$imgUrl;
CreateDir($imgUrl);
$itype = $htd->GetHead("content-type");
if($itype=="image/gif") $itype = ".gif";
else if($itype=="image/png") $itype = ".png";
else if($itype=="image/wbmp") $itype = ".bmp";
else $itype = ".jpg";
$rndname = dd2char($cfg_ml->M_ID."0".strftime("%y%m%d%H%M%S",$nowtme)."0".mt_rand(1000,9999)).'-rm';
$rndtrueName = $imgPath."/".$rndname.$itype;
$fileurl = $imgUrl."/".$rndname.$itype;
$ok = $htd->SaveToBin($rndtrueName);
if($ok){
$info = "";
$data = GetImageSize($rndtrueName,$info);
$revalues[0] = $fileurl;
$revalues[1] = $data[0];
$revalues[2] = $data[1];
}
@WaterImg($rndtrueName,'down');
//保存用户上传的记录到数据库
if($title=='') $title = '用户保存的远程图片';
$addinfos[0] = $data[0];
$addinfos[1] = $data[1];
$addinfos[2] = filesize($rndtrueName);
SaveUploadInfo($title."(远程图片)",$fileurl,1,$addinfos);
}
$htd->Close();
if($ok) return $revalues;
else return '';
}
//------------------
//获得上传的图片
//------------------
function GetUpImage($litpic,$isdd=false,$exitErr=false,$iw=0,$ih=0,$iname='')
{
global $cfg_ml,$cfg_ddimg_width,$cfg_ddimg_height;
global $cfg_basedir,$cfg_user_dir,$title,$cfg_mb_upload_size,$cfg_photo_typenames;
if($iw==0) $iw = $cfg_ddimg_width;
if($ih==0) $ih = $cfg_ddimg_height;
$ntime = $nowtme = mytime();
if(!isset($_FILES[$litpic])) return "";
if(is_uploaded_file($_FILES[$litpic]['tmp_name']))
{
//超过限定大小的文件不给上传
if($_FILES[$litpic]['size'] > $cfg_mb_upload_size*1024){
@unlink($_FILES[$litpic]['tmp_name']);
return "";
}
$sparr = $cfg_photo_typenames;
$_FILES[$litpic]['type'] = strtolower(trim($_FILES[$litpic]['type']));
if(!in_array($_FILES[$litpic]['type'],$sparr)){
if($exitErr){
ShowMsg("上传的缩略图片格式错误,请使用JPEG、GIF、PNG格式的其中一种!","-1");
exit();
}else{ return ""; }
}
$savepath = $cfg_user_dir."/".$cfg_ml->M_ID;
CreateDir($savepath);
if($iname=='') $itname = dd2char($cfg_ml->M_ID."0".strftime("%y%m%d%H%M%S",$nowtme)."0".mt_rand(1000,9999)).'-lit';
else $itname = $iname;
$fullUrl = $savepath."/".$itname;
//强制检测文件类型
if($iname==''){
if(strtolower($_FILES[$litpic]['type'])=="image/gif") $fullUrl = $fullUrl.".gif";
else if(strtolower($_FILES[$litpic]['type'])=="image/png") $fullUrl = $fullUrl.".png";
else $fullUrl = $fullUrl.".jpg";
}else{
$fullUrl = $fullUrl.'.jpg';
}
@move_uploaded_file($_FILES[$litpic]['tmp_name'],$cfg_basedir.$fullUrl);
$litpic = $fullUrl;
if($isdd) @ImageResize($cfg_basedir.$fullUrl,$iw,$ih);
else @WaterImg($cfg_basedir.$fullUrl,'up');
//保存用户上传的记录到数据库
if($title==''){
if($isdd) $title = '用户上传的图片';
else $title = '用户上传的略略图';
}
$info = "";
$datas[0] = 0;
$datas[1] = 0;
$datas = GetImageSize($cfg_basedir.$fullUrl,$info);
$addinfos[0] = $datas[0];
$addinfos[1] = $datas[1];
$addinfos[2] = filesize($cfg_basedir.$fullUrl);
SaveUploadInfo($title,$fullUrl,1,$addinfos);
return $litpic;
}else{
return "";
}
}
//-----------------------
//把上传的信息保存到数据库
//------------------------
function SaveUploadInfo($title,$filename,$medaitype=1,$addinfos='')
{
global $dsql,$cfg_ml;
if($filename=="") return "";
if(!is_object($dsql)){ $dsql = new DedeSql(false); }
if(!is_array($addinfos)){
$addinfos[0] = 0; $addinfos[1] = 0; $addinfos[2] = 0;
}
$row = $dsql->GetOne("Select title,url From #@__uploads where url='$filename'; ");
if(is_array($row) && count($row)>0){ return '';}
$inquery = "
INSERT INTO `#@__uploads`(title,url,mediatype,width,height,playtime,filesize,uptime,adminid,memberid)
VALUES ('$title','$filename','1','".$addinfos[0]."','".$addinfos[1]."','0','".$addinfos[2]."','".mytime()."','0','".$cfg_ml->M_ID."');
";
$dsql->SetQuery($inquery);
$dsql->ExecuteNoneQuery();
}
//---------------
//检测频道ID
//---------------
function CheckChannel($typeid,$channelid)
{
global $dsql;
if($typeid==0) return false;
$query = "Select t.ispart,t.channeltype,t.issend,c.issend as cissend From `#@__arctype` t
left join `#@__channeltype` c on c.ID=t.channeltype where t.ID='$typeid'
";
$row = $dsql->GetOne($query,MYSQL_ASSOC);
if($row['cissend']!=1) $msg="模型不允许投稿";
else if($row['issend']!=1) $msg="栏目不允许投稿";
else if($row['ispart']!=0) $msg="非最终列表栏目";
else if($row['channeltype']!=$channelid) $msg="栏目不属于所选模型";
else $msg = '';
return $msg;
}
//-----------------------
//创建指定ID的文档
//-----------------------
function MakeArt($aid,$checkLike=false)
{
include_once(dirname(__FILE__)."/../../include/inc_archives_view.php");
$arc = new Archives($aid);
$reurl = $arc->MakeHtml();
return $reurl;
}
?> | zyyhong | trunk/jiaju001/news/member/inc/inc_archives_functions.php | PHP | asf20 | 6,369 |
dedecms | zyyhong | trunk/jiaju001/news/data/textdata/index.html | HTML | asf20 | 7 |
dedecms | zyyhong | trunk/jiaju001/news/data/index.html | HTML | asf20 | 7 |
dedecms | zyyhong | trunk/jiaju001/news/data/js/index.html | HTML | asf20 | 7 |
dedecms | zyyhong | trunk/jiaju001/news/data/mytag/index.html | HTML | asf20 | 7 |
<?php
//null;
?> | zyyhong | trunk/jiaju001/news/data/taskpwd.php | PHP | asf20 | 18 |
<?php $admin_path = 'lic'; ?> | zyyhong | trunk/jiaju001/news/data/admin_fde83c533a1ca64d9d060d35.php | PHP | asf20 | 29 |
dedecms | zyyhong | trunk/jiaju001/news/data/sessions/index.html | HTML | asf20 | 7 |
<?php
//require_once(dirname(__FILE__)."./../include/config_base.php");
require_once(dirname(__FILE__)."./../member/config.php");
require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php");
$dsql = new DedeSql(false);
if(empty($areaid)) $areaid = 0;
if(empty($areaid2)) $areaid2 = 0;
if(!isset($sectorid)) $sectorid = 0;
if(!isset($sectorid2)) $sectorid2 = 0;
if(empty($page)) $page = 1;
$areaid = intval($areaid);
$areaid2 = intval($areaid2);
$sectorid = intval($sectorid);
$sectorid2 = intval($sectorid2);
$page = intval($page);
isset($comname) || $comname = '';
$comname = trim($comname);
$allsectors = $areas = array();
$dsql->setquery("select id, name from #@__sectors order by disorder desc,id asc");
$dsql->Execute();
while($row = $dsql->getarray())
{
$allsectors[$row['id']] = $row['name'];
}
//////////////////////地区数据处理s/////////////////////////////
$sql = "select * from #@__area order by disorder desc,id asc";
$dsql->SetQuery($sql);
$dsql->Execute();
$toparea = $subarea = array();
while($sector = $dsql->GetArray())
{
$areas[$sector['id']] = $sector['name'];
if($sector['reid'] == 0)
{
$toparea[] = $sector;
}else
{
$subarea[] = $sector;
}
}
$areacache = "toparea=new Array();\n\n";
$areaidname = $areaid2name = '-不限-';
foreach($toparea as $topkey => $topsector)
{
if($topsector['id'] == $row['areaid'])
{
$areaidname = $topsector['name'];
}
$areacache .= "toparea[$topkey]=".'"'.$topsector['id'].'~'.$topsector['name'].'";'."\n";
$areacache .= "\t".'subareas'.$topsector['id'].'=new Array();'."\n";
$arrCount = 0;
foreach($subarea as $subkey => $subsector)
{
if($subsector['id'] == $row['areaid2'])
{
$areaid2name = $subsector['name'];
}
if($subsector['reid'] == $topsector['id'])
{
$areacache .= "\t".'subareas'.$topsector['id'].'['.$arrCount.']="'.$subsector['id'].'~'.$subsector['name'].'";'."\n";
$arrCount++;
}
}
}
//echo $areacache;exit;
//////////////////////地区数据处理e/////////////////////////////
$wheresql = '';
$subsectors = $sectors = array();
$sectorinfo = $resectorinfo = '';
if($areaid2 > 0){
$wheresql .= " and areaid2=$areaid2";
}elseif($areaid > 0)
{
$wheresql .= " and areaid=$areaid";
}
if($sectorid > 0){
$dsql->setquery("select id, name, reid from #@__sectors
where id=$sectorid or reid=$sectorid order by disorder desc,id asc");
$dsql->Execute();
while($row = $dsql->GetArray()) {
if($row['id'] == $sectorid){
$topsectorinfo = $sectorinfo = $row;
}else{
$subsectors[] = $row;
}
}
$wheresql .= " and typeid1=$sectorid";
}elseif($sectorid2 > 0)
{
$sectorinfo = $dsql->getone("select id, name, reid from #@__sectors where id=$sectorid2");
if($sectorinfo){
$sectorid = $sectorinfo['reid'];
$dsql->setquery("select id, name, reid from #@__sectors
where id=$sectorid or reid=$sectorid order by disorder desc,id asc");
$dsql->Execute();
while($row = $dsql->GetArray()) {
if($row['id'] == $sectorid){
$topsectorinfo = $row;
}else{
$subsectors[] = $row;
}
}
$sectorid = 0;
}
$wheresql .= " and typeid2=$sectorid2";
}
if($comname != ''){
$wheresql .= " and comname LIKE '%".$comname."%'";
}
$wheresql = trim($wheresql);
if(eregi("^and", $wheresql)) {
$wheresql = substr($wheresql,3);
}
if($wheresql != ''){
$wheresql = 'where '.trim($wheresql);
}
$companys = array();
$query = "select id, comname, regyear, areaid, areaid2, service, typeid1, typeid2, comaddr, website, postid
from #@__member_cominfo $wheresql";
$dlist = new DataList();
$dlist->pageSize = 10;
$dlist->SetParameter("sectorid",$sectorid);
$dlist->SetParameter("sectorid2",$sectorid2);
$dlist->SetParameter("areaid",$areaid);
$dlist->SetParameter("comname",$comname);
$dlist->SetParameter("areaid2",$areaid2);
$dlist->SetSource($query);
include(dirname(__FILE__)."/template/default/search_list.htm");
?> | zyyhong | trunk/jiaju001/news/company/search.php | PHP | asf20 | 4,086 |
<?php
//require_once(dirname(__FILE__)."./../include/config_base.php");
require_once(dirname(__FILE__)."./../member/config.php");
$dsql = new DedeSql(false);
$areas = $sectors = $topsectors = $subsectors = array();
$dsql->setquery("select id, name, reid from #@__sectors order by disorder desc,id asc");
$dsql->Execute();
while($row = $dsql->GetArray())
{
if($row['reid'] == 0){
$topsectors[] = $row;
}else{
$subsectors[] = $row;
}
}
foreach($topsectors as $topsector){
$sectors[] = $topsector;
foreach($subsectors as $key => $subsector){
if($subsector['reid'] == $topsector['id']){
$sectors[] = $subsector;
unset($subsectors[$key]);
}
}
}
//////////////////////地区数据处理s/////////////////////////////
$sql = "select * from #@__area order by disorder asc,id asc";
$dsql->SetQuery($sql);
$dsql->Execute();
$toparea = $subarea = array();
while($sector = $dsql->GetArray())
{
$areas[$sector['id']] = $sector['name'];
if($sector['reid'] == 0)
{
$toparea[] = $sector;
}else
{
$subarea[] = $sector;
}
}
$areacache = "toparea=new Array();\n\n";
$areaidname = $areaid2name = '-不限-';
foreach($toparea as $topkey => $topsector)
{
if($topsector['id'] == $row['areaid'])
{
$areaidname = $topsector['name'];
}
$areacache .= "toparea[$topkey]=".'"'.$topsector['id'].'~'.$topsector['name'].'";'."\n";
$areacache .= "\t".'subareas'.$topsector['id'].'=new Array();'."\n";
$arrCount = 0;
foreach($subarea as $subkey => $subsector)
{
if($subsector['id'] == $row['areaid2'])
{
$areaid2name = $subsector['name'];
}
if($subsector['reid'] == $topsector['id'])
{
$areacache .= "\t".'subareas'.$topsector['id'].'['.$arrCount.']="'.$subsector['id'].'~'.$subsector['name'].'";'."\n";
$arrCount++;
}
}
}
//echo $areacache;exit;
//////////////////////地区数据处理e/////////////////////////////
include(dirname(__FILE__)."/template/default/search_index.htm"); | zyyhong | trunk/jiaju001/news/company/index.php | PHP | asf20 | 1,988 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<link href="template/default/css/style.css" rel="stylesheet" type="text/css" />
<title>搜索企业</title>
<script language="javascript"><?php if(isset($sectorcache)){echo $sectorcache;}if(isset($areacache)){ echo $areacache;}?></script>
<script language='javascript' src='../include/common.js'></script>
</head>
<body>
<div id="container">
<!-- 头部开始 -->
<div id="search_header">
<div id="centertext">
<div class="search_logo">
</div>
<div class="search_top">
<div class="search_menu">
<ul>
<li class="one"><a href="../">网站首页</a></li>
<?php
if(!empty($cfg_ml->M_ID)){
?>
<li class="one"><a target="_blank" href="../member/control.php">控制面板</a></li>
<li class="one"><a target="_blank" href="../member/index.php?id=<?php echo $cfg_ml->M_ID;?>">企业网站</a></li>
<?php
}else{
?>
<li class="one"><a href="../member/login.php">登录管理</a></li>
<li class="one"><a href="../member/index_do.php?fmdo=user&dopost=regnew">加入企业库</a></li>
<?php
}
?>
<li class="two"><a href="http://bbs.dedecms.com">织梦论坛</a></li>
</ul>
</div>
</div>
<div class="clear">
</div>
</div>
</div>
<!-- 搜索开始 -->
<div id="company_search">
<div id="search_middle">
<div class="serach_top_titlebg">
</div>
<div class="search_font">输入企业名称、行业、产品、服务、地址或企业类型进行搜索
</div>
<div class="search_form_bar">
<div class="search_img"></div> <form name="form2" action="search.php" method="post">
<div class="search_inputform"><input name="comname" type="text" class="search_input" /></div>
<div class="clear"></div>
</div>
<div class="search_select">
<div class="search_select_text">
<div class="search_select_form">
<select name="areaid" id="areaid" onChange="javascript:selNext(this.document.form2.areaid2,this.value,'subareas')">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__area where reid=0");
$dsql->Execute();
while($area = $dsql->GetArray())
{
echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n";
}
?>
</select>
</div>
<div class="search_select_form">
<select name="areaid2" id="areaid2">
<option value="0">--不限--</option>
</select>
</div>
</div>
<div class="search_button">
<div><input type="submit" name="Submit2" value="" class="search_button_img" />
</form>
</div>
</div>
<div class="clear"></div>
</div>
<div class="search_bottom">
</div>
</div>
</div>
<!-- 中间开始 -->
<div id="search_main">
<div id="search_main_middle">
<!-- 左边开始 -->
<div class="search_left">
<div class="search_class_title">
<ul><li>按行业分类查找客户</li></ul>
</div>
<div class="search_class_text">
<?php
if($sectors){
$temp = 0;
foreach($sectors as $sector){
if($sector['reid'] == 0){
if($temp > 0){
echo "</dl></div>\n\n";
}
echo "<div class=\"search_class_box\"><dl>\n";
echo "<dt><a href=\"search.php?sectorid=$sector[id]\">$sector[name]</a></dt>\n";
$temp++;
}else{
echo "<dd><a href=\"search.php?sectorid2=$sector[id]\">$sector[name]</a></dd>\n";
}
}
echo "</dl></div>\n";
}
?>
<div class="clear">
</div>
</div>
</div>
<!--右边开始-->
<div class="search_right">
<div class="search_right_join"><a href="../member/index_do.php?fmdo=user&dopost=regnew"></a>
</div>
<div class="search_right_title">
<ul><li>按地区搜索</li></ul>
</div>
<div class="search_right_text">
<ul>
<?php
if($toparea){
foreach($toparea as $area){
echo "<li><a href=\"search.php?areaid=$area[id]\">$area[name]</a></li>";
}
}
?>
</ul>
<div class="clear">
</div>
</div>
<div class="search_ad"><a href="http://www.dedecms.com">点击下载织梦CMS</a>
</div>
</div>
<div class="clear">
</div>
</div>
</div>
<!-- 底部footer -->
<div id="footer">
<div class="footer_bar">
</div>
<div class="footer_main">
<div class="footer_text">Power by DedeCms Copyright © 2007-2008</div>
<div class="footer_logo"></div>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/company/template/default/search_index.htm | HTML | asf20 | 5,431 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>搜索企业</title>
<link href="template/default/css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript"><?php if(isset($sectorcache)){echo $sectorcache;} if(isset($areacache)){ echo $areacache;} ?></script>
<script language='javascript' src='../include/common.js'></script>
</head>
<body>
<div id="container">
<!-- 头部开始 -->
<div id="search_header">
<div id="centertext">
<div class="search_logo">
</div>
<div class="search_top">
<div class="search_menu">
<ul>
<li class="one"><a href="../">网站首页</a></li>
<?php
if(!empty($cfg_ml->M_ID)){
?>
<li class="one"><a target="_blank" href="../member/control.php">控制面板</a></li>
<li class="one"><a target="_blank" href="../member/index.php?id=<?php echo $cfg_ml->M_ID;?>">企业网站</a></li>
<?php
}else{
?>
<li class="one"><a href="../member/login.php">登录管理</a></li>
<li class="one"><a href="../member/index_do.php?fmdo=user&dopost=regnew">加入企业库</a></li>
<?php
}
?>
<li class="two"><a href="http://bbs.dedecms.com">织梦论坛</a></li>
</ul>
</div>
</div>
<div class="clear">
</div>
</div>
</div>
<!-- 搜索开始 -->
<div id="company_search">
<div id="search_middle">
<div class="serach_top_titlebg">
</div>
<div class="search_font">输入企业名称、行业、产品、服务、地址或企业类型进行搜索
</div>
<div class="search_form_bar">
<div class="search_img"></div>
<form name="form2" action="search.php" method="post">
<div class="search_inputform"><input name="comname" type="text" class="search_input" /></div>
<div class="clear"></div>
</div>
<div class="search_select">
<div class="search_select_text">
<div class="search_select_form">
<select name="areaid" id="areaid" onChange="javascript:selNext(this.document.form2.areaid2,this.value,'subareas')">
<option value="0">--不限--</option>
<?php
$dsql->SetQuery("Select * From #@__area where reid=0");
$dsql->Execute();
while($area = $dsql->GetArray())
{
echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n";
}
?>
</select>
</div>
<div class="search_select_form">
<select name="areaid2" id="areaid2">
<option value="0">--不限--</option>
</select>
</div>
</div>
<div class="search_button">
<div><input type="submit" name="Submit2" value="" class="search_button_img" />
</div>
</form>
</div>
<div class="clear"></div>
</div>
<div class="search_bottom">
<div class="search_bottom_title"><a href="../">首页</a> 》 <a href="./">公司库首页</a> 》 搜索公司</a>
</div>
<div class="clear">
</div>
</div>
<?php
if($subsectors){
?>
<div class="search_bottom_text">
<dl>
<dt>按类目选择</dt>
<?php
foreach($subsectors as $subsector){
echo "<dd><a href=\"search.php?sectorid2=$subsector[id]\">$subsector[name]</a></dd>\n";
}
?>
</dl>
<div class="clear">
</div>
<?php
}
?>
</div>
<div class="clear"></div>
</div>
</div>
<!-- 中间开始 -->
<div id="search_main">
<div id="search_list_middle">
<div class="search_list_title">
<ul>
<li>企业名称</li>
</ul>
</div>
<div class="search_list_title1">注册时间
</div>
<div class="search_list_title1">注册地
</div>
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
$row['areaidname'] = $areas[$row['areaid']];
$row['areaid2name'] = $areas[$row['areaid2']];
$row['sectoridname'] = $allsectors[$row['typeid1']];
$row['sectorid2name'] = $allsectors[$row['typeid2']];
?>
<div class="search_list_main">
<div class="search_list_text">
<dl>
<dt><a href="../member/index.php?id=<?php echo $row['id'];?>"><?php echo $row['comname'];?></a></dt>
<dd><?php echo $row['service'].'<br>'.$row['comaddr'];?></dd>
</dl>
</div>
<div class="search_list_text1"><?php echo $row['regyear'];?>
</div>
<div class="search_list_text1"><?php echo $row['areaidname'].' - '.$row['areaid2name'];?>
</div>
<div class="clear">
</div>
</div>
<?php
}
?>
</div>
</div>
<div class="search_class_list"><?php echo $dlist->GetPageList(7);?>
</div>
<!-- 底部footer -->
<div id="footer">
<div class="footer_bar">
</div>
<div class="footer_main">
<div class="footer_text">Power by DedeCms Copyright © 2007-2008</div>
<div class="footer_logo"></div>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/company/template/default/search_list.htm | HTML | asf20 | 5,627 |
@charset "gbk";
/* ------------------------------------------------------------ 企业搜索首页 -------------------------------------------------------------*/
/* -- 全局定位 --*/
* { margin:0px auto; padding:0px; font-size:12px; font-weight:normal; list-style-type:none; }
html, body { margin:auto; padding:0px;background-color:#fff; text-align:center; }
#container { margin:auto; width:100%; height:100%; }
.button{ background:url(../images/button.gif) repeat-x -1px; width:89px; height:30px; text-align:center; font-size:12px; color:#676767; line-height:30px; margin-top:5px; margin-bottom:5px; border:0;}
.button a{ text-decoration:none; font-size:12px; color:#676767;}
.button a:hover{font-size:12px; color:#ac0000;}
.button01{ background:url(../images/button01.gif) repeat-x; width:62px; height:30px; text-align:center; font-size:12px; color:#676767; line-height:30px; margin:10px 0px 5px 20px; border:0;}
.button01 a{ text-decoration:none; font-size:12px; color:#676767;}
.button01 a:hover{font-size:12px; color:#ac0000;}
.clear { clear:both; }
/* -- 头部 --*/
#search_header { width:100%; margin:auto; text-align:center; }
#centertext { width:760px; text-align:center; height:59px; margin-top:20px; }
.search_logo { background:url(../images/search_logo.gif) no-repeat; height:59px; width:263px; float:left; }
.search_top { width:497px; float:right; height:35px; padding-top:24px;}
.search_menu a{ color:#799c00;}
.search_menu a:hover{ color:#00529f; }
.search_menu { float:right;position: relative;width: 297px!important;border-bottom: #CCCCCC 2px solid; }
.search_menu li {text-align:center;float: left;font-weight: bold;line-height: 24px;}
.search_menu ul li.one {width: 73px;background-color:#ffffff;border-bottom: #a2b952 1px solid;border-left: #a2b952 1px solid;font-size:14px;border-top: #a2b952 1px solid;}
.search_menu ul li.two {width: 73px;background-color:#ffffff;border-bottom: #a2b952 1px solid;border-left: #a2b952 1px solid;font-size:14px;border-top: #a2b952 1px solid; border-right:#a2b952 1px solid;}
/* -- 搜索 --*/
#company_search {width:100%;text-align:center; margin-top:10px;}
#search_middle {width:758px;border:1px solid #bbd186; background-color:#e9f9c3; }
.serach_top_titlebg { width:758px; height:5px; background-color:#f8fded; line-height:0px; font-size:0px; }
.search_font {margin-top:10px; color:#8fa952; }
.search_form_bar { height:31px;}
.search_img { background:url(../images/search.gif) no-repeat 30px; height:31px; float:left; width:160px; }
.search_inputform { width:598px; float:left; padding-top:5px; text-align:left; }
.search_input { height:20px; background-color:#f5ffd5; border:1px solid #a3a561; width:500px; }
.search_select{ width:758px; height:40px; }
.search_select_text { width:250px; margin:5px 0px 0px 80px; float:left; height:35px; }
.search_select_form { float:left; border:1px solid #C0C0C0; width:100px; height:16px; overflow:hidden; }
.search_select_form select{position:relative; font-size:12px; width:100px; line-height:18px;border:0px; color:#909993; }
.search_button { width:348px; height:40px; float:left; text-align:left; }
.search_button_img {background:url(../images/search_button.gif) repeat-x -2px; width:86px; height:30px; border:0px; }
.search_bottom { height:30px; text-align:center; color:#576c23; background-color:#d7eea1; width:758px; }
/* -- 中间 --*/
#search_main { width:100%; text-align:center; margin-top:10px; }
#search_main_middle { width:760px; margin:auto; text-align:center;}
/* -- 左边 --*/
.search_left { width:515px; margin-right:10px; border:1px solid #bbd186; float:left; }
.search_class_title { background:url(../images/right_titlebg.gif) repeat-x; height:29px; text-align:left; border-bottom:1px solid #bbd186;margin-bottom:5px; }
.search_class_title ul { list-style:none; }
.search_class_title li { background:url(../images/title01.gif) no-repeat 10px; height:29px; font-size:12px; color:#355b00; font-weight:bold; text-indent:30px; line-height:29px; }
.search_class_text { width:515px; margin:auto; text-align:center; height:100%; }
.search_class_box { margin:5px 5px 5px 15px; width:227px; float:left; border-bottom:1px #999 dotted; padding-bottom:5px; }
.search_class_box a:hover{ color:#FF6600; }
.search_class_box dt{ font-size:14px; font-weight:bold; color:#3d362b; text-align:left; padding-bottom:5px; }
.search_class_box dt a{ font-size:14px; font-weight:bold; color:#3d362b; }
.search_class_box dd{ text-align:left; font-size:12px; color:#3d362b; float:left; padding-left:3px; width: 110px;}
.search_class_box dd a{ font-size:12px; color:#3d362b; }
/* -- 右边 --*/
.search_right { width:233px; float:right; }
.search_right_join {width:233px; height:104px; margin-bottom:5px; }
.search_right_join a{ background:url(../images/join_company.gif) no-repeat; width:233px; height:104px; display:block; }
.search_right_title { background:url(../images/right_titlebg01.gif) no-repeat; width:233px; height:27px; line-height:27px; margin-bottom:5px; }
.search_right_title ul {list-style:none;}
.search_right_title li { background:url(../images/right_next.gif) no-repeat 10px 6px; height:20px; color:#FFFFFF; text-align:left; text-indent:30px; font-size:14px; font-weight:bold; clear:both; }
.search_right_text { width:231px; border:1px solid #bbd186; height:100%; padding:5px 0px 5px 0px; }
.search_right_text ul {list-style:none; text-align:center; padding-top:5px; }
.search_right_text li { width:57px; color:#3c7100; float:left; }
.search_right_text li a{ color:#3c7100; text-decoration:none; }
.search_right_text li a:hover{ color:#FF6600; }
.search_ad { width:233px; height:176px; margin-top:5px; }
.search_ad a { background:url(../images/search_ad.gif) no-repeat; width:233px; height:176px; text-indent:-9999px; display:block; }
/* -- 底部信息--*/
#footer {width:100%; margin:auto; text-align:center;}
.footer_bar {border-top:4px solid #619921; width:100%; margin-top:30px; }
.footer_main { width:760px; height:30px; line-height:30px; }
.footer_text {font-family:PMingLiU, sans-serif; font-size:12px; color:#333333; float:left; }
.footer_logo { background:url(../images/footer_logo.gif) no-repeat; width:136px; height:23px; float:right; margin-top:5px; }
/* ------------------------------------------------------------ 企业搜索列表 -------------------------------------------------------------*/
.search_bottom_title { width:758px; color:#576c23; height:30px; line-height:30px; text-align:left; text-indent:15px; }
.search_bottom_title a { color:#576c23; text-decoration:none; }
.search_bottom_title a:hover {color:#501faa; }
.search_bottom_text {width: 758px; color:#576c23; background-color:#d7eea1; border-top:1px solid #c2d98b; padding-top:5px; }
.search_bottom_text dt { font-weight:bold; background:url(../images/search_ico01.gif) no-repeat 15px 5px; height:20px; line-height:20px; text-align:left; text-indent:25px; }
.search_bottom_text dd { padding-left:25px; width:50px; float:left; height:25px; line-height:25px; }
.search_bottom_text dd a{ color:#576c23; text-decoration:none; }
.search_bottom_text dd a:hover { color:#501faa; border-bottom:2px solid #576c23; }
/* -- 中间信息--*/
#search_list_middle { width:758px; margin:auto; text-align:center; border:1px solid #bbd186; }
.search_list_title { background:url(../images/right_titlebg.gif) repeat-x; height:29px; text-align:left; border-bottom:1px solid #bbd186;margin-bottom:5px; width:500px; float:left; }
.search_list_title ul { list-style:none; }
.search_list_title li { background:url(../images/title01.gif) no-repeat 10px; height:29px; font-size:12px; color:#355b00; font-weight:bold; text-indent:30px; line-height:29px; }
.search_list_title1 { width:129px; margin-bottom:5px; height:29px;float:left;background:url(../images/right_titlebg.gif) repeat-x;border-bottom:1px solid #bbd186; line-height:29px; color:#355b00; }
.search_list_main { width:758px; margin-bottom:10px; border-bottom:1px #CCCCCC dotted; }
.search_list_text { width:480px; float:left; padding:5px 10px 5px 10px; }
.search_list_text dt { color:#576c23; text-align:left; text-indent:15px; }
.search_list_text dt a{ color:#576c23; text-decoration:none;font-size:14px; font-weight:bold; }
.search_list_text dt a:hover { color:#ff6600; }
.search_list_text dd { font-size:12px; color:#999999; text-align:left; padding:5px 0px 0px 15px;; }
.search_list_text1 { height:29px; font-size:12px; color:#355b00; line-height:29px; float:left; width:129px;}
.search_class_list { width:743px; height:30px; background-color:#e9f9c3; border:1px solid #bbd186; color:#576c23; text-align:right; padding-right:15px;line-height:30px; margin-top:10px; }
.search_class_list a{ color:#576c23; text-decoration:none; }
.search_class_list a:hover{ color:#ff6600; }
| zyyhong | trunk/jiaju001/news/company/template/default/css/style.css | CSS | asf20 | 8,838 |
function pigzmo(menu,list,length,mousetime){
var menus=getObject(menu).getElementsByTagName("a");
var lists=getObject(list).getElementsByTagName("dd");
var listname=list;
for(var oi=0;oi<lists.length;oi++){
lists[0].style.display="none";
}
if(ReadCookie(listname)){
SetContent(ReadCookie(listname),length,menus,lists,listname);
}else{
SetContent("0",length,menus,lists,listname);
}
for(var oi=0;oi<length;oi++){
MouseAction(oi,length,menus,lists,listname,mousetime);
}
}
function MouseAction(c,cl,menus,lists,listname,mousetime){
var waitInterval;
menus[c].onclick=function(){
SetContent(c,cl,menus,lists,listname);
}
menus[c].onmouseover=function(){
ws_c=c;
ws_cl=cl;
ws_menus=menus;
ws_lists=lists;
ws_listname=listname;
clearTimeout(waitInterval);
waitInterval=window.setTimeout("SetContent(ws_c,ws_cl,ws_menus,ws_lists,ws_listname);",mousetime);
}
menus[c].onmouseout=function(){
clearTimeout(waitInterval);
}
}
function SetContent(c,cl,menus,lists,listname){
getObject(listname).getElementsByTagName("dt")[0].style.display="none";
if (lists[c].style.display=="block"){
menus[c].blur();
return;
}
for(var mi=0;mi<cl;mi++){
menus[mi].className="";
}
menus[c].className="thisclass";
menus[c].blur();
for(var li=0;li<cl;li++){
lists[li].style.display="none";
}
lists[c].style.display="block";
SetCookie(listname,c,1000000);
}
function SetCookie(name,value,expires){
var exp=new Date();
exp.setTime(exp.getTime()+expires*60000);
document.cookie=name+"="+escape(value)+";expires="+exp.toGMTString();//+";domain=pigz.cn;path=/";
}
function ReadCookie(name){
var oRegex=new RegExp(name+'=([^;]+)','i');
var oMatch=oRegex.exec(document.cookie);
if(oMatch&&oMatch.length>1)return unescape(oMatch[1]);
else return '';
}
function getObject(objectId) {
if (document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId);
} else if (document.all && document.all(objectId)) {
return document.all(objectId);
} else if (document.layers && document.layers[objectId]) {
return document.layers[objectId];
} else {
return false;
}
} | zyyhong | trunk/jiaju001/news/templets/info/js/pigzmo.js | JavaScript | asf20 | 2,262 |
@charset "gb2312";
/*----------内页左侧*/
.pleft{
width:690px;
float:left;
overflow:hidden;
}
/*----------位置导航*/
.thisplace{
width:690px;
height:29px;
background:url(../images/nlist_title_bg.gif) repeat-x;
}
.thisplace .title{
width:90px;
height:29px;
float:left;
background:url(../images/nlist_title_sr.gif) left bottom no-repeat;
}
.thisplace .title span{
display:block;
width:86px;
line-height:29px;
text-align:right;
color:#693;
font-weight:bold;
letter-spacing:1px;
background:url(../images/ico_24.gif) 10px 10px no-repeat;
}
.thisplace .place{
float:left;
width:600px;
line-height:27px;
background:url(../images/nlist_title_sr.gif) right bottom no-repeat;
}
/*----------地区选择*/
.cselect{
width:688px;
background:#F7FBFF;
border:1px solid #CBDFF2;
margin:10px auto 0px;
}
.cselect .c1{
width:660px;
margin:10px auto;
}
.cselect .c1 span{
color:#FF3300;
font-weight:bold;
}
.cselect .c2{
width:660px;
margin:10px auto;
}
.cselect .c2 a{
color:#36C;
}
/*----------信息列表*/
.dbox{
width:690px;
}
.dbox dl{
width:680px;
margin:8px auto 0px;
display:block;
border-bottom:1px dotted #DDD;
padding-bottom:5px;
}
.dbox dl dt{
width:680px;
height:31px;
line-height:31px;
background:url(../images/ico_7.gif) 4px 0px no-repeat;
color:#666666;
}
.dbox dl dt .title{
font-size:14px;
color:#039;
margin-left:14px;
font-weight:bold;
}
.dbox dl dt .username{
color:#F00;
margin-left:14px;
}
.dbox dl dt .dtime{
font-size:11px;
color:#669933;
}
.dbox dl dd{
width:670px;
}
.dbox dl dd.preview{
color:#666666;
line-height:21px;
margin-left:10px;
}
.dbox dl dd.info{
line-height:29px;
color:#999;
}
.dbox dl dd.info a{
color:#36C;
}
.dbox dl dd.info span{
color:#666666;
margin-left:12px;
}
/*----------右侧*/
.pright{
width:200px;
float:right;
}
/*----------小分类*/
.rclass{
width:200px;
background:url(../images/cbox_bg.gif) top no-repeat;
padding-top:8px;
}
.rclass dl{
width:198px;
border-color:#FFEC82;
border-style:solid;
border-width:0px 1px 1px 1px;
padding-bottom:5px;
}
.rclass dl dt{
line-height:26px;
text-indent:16px;
font-size:14px;
font-weight:bold;
}
.rclass dl dt a{
font-size:14px;
font-weight:bold;
}
.rclass dl dt span{
font-size:11px;
color:#999999;
}
.rclass dl dd{
line-height:29px;
text-indent:26px;
}
.rclass dl dd a{
color:#36C;
}
.rclass dl dd span{
color:#999;
font-size:11px;
}
/*----------列表*/
.slist{
width:200px;
background:url(../images/rlist_title_bg.jpg) left top no-repeat;
}
.slist dl{
width:200px;
background:url(../images/rlist_title_r.gif) right top no-repeat;
}
.slist dl dt{
width:200px;
line-height:21px;
padding-top:6px;
height:25px;
text-indent:12px;
font-weight:bold;
color:#FFF;
letter-spacing:2px;
}
.slist dl dd{
width:198px;
border-color:#EEE;
border-style:solid;
border-width:0px 1px 1px 1px;
overflow:auto;
padding-bottom:5px;
}
.slist dl dd ul{
width:196px;
overflow:hidden;
}
.slist dl dd ul li{
width:196px;
line-height:31px;
float:left;
display:block;
overflow:hidden;
text-indent:10px;
}
.slist dl dd ull li a{
color:#333;
}
/*----------内容浏览*/
.dview{
width:670px;
margin:10px auto 0px;;
}
.dview .title{
font-size:24px;
font-weight:bold;
line-height:31px;
text-indent:10px;
}
.dview .datetime{
color:#999999;
line-height:25px;
text-indent:12px;
}
.dview .cinfo{
border-left:3px solid #CBDFF2;
background:#F7FBFF;
line-height:29px;
}
.dview .cinfo strong{
margin-left:20px;
color:#666666;
}
.dview .cinfo a{
color:#06C;
}
.dview .content{
font-size:14px;
line-height:23px;
padding:10px;
color:#555;
}
.dview .contact{
width:670px;
border:1px solid #CBDFF2;
background:#F7FBFF;
}
.dview .contact ul{
width:600px;
margin:10px auto;
overflow:hidden;
}
.dview .contact ul li{
width:300px;
height:25px;
line-height:25px;
float:left;
}
/*----------评论*/
.comment{
width:668px;
border:1px solid #DDD;
margin-top:7px;
}
.comment .commenttitle{
width:666px;
height:26px;
margin:1px auto;
background:url(../images/title_bg_1.gif) repeat-x;
border-bottom:1px solid #DDD;
}
.comment .commenttitle .cmtitle{
float:left;
margin:5px 0px 0px 12px;
color:#999;
display:inline;
}
.comment .commenttitle .cmtitle strong{
letter-spacing:4px;
color:#444;
margin-right:10px;
}
.comment .commenttitle .gotopost{
float:right;
display:block;
width:100px;
height:23px;
}
.comment .commenttitle .gotopost a{
width:95px;
height:22px;
display:inline;
float:right;
text-align:center;
line-height:22px;
text-decoration:none;
background:url(../images/ico_gotopost.gif) no-repeat;
margin:1px 3px 0px 0px;
}
.comment .commentbox{
width:668px;
}
.comment .commentbox dl{
width:636px;
margin:10px auto 0px;
border:1px solid #D1DDCE;
}
.comment .commentbox dl dt{
width:636px;
background:#F4F9F2;
line-height:25px;
text-indent:10px;
color:#333;
border-bottom:1px solid #E6ECE3;
}
.comment .commentbox dl dt span{
color:#669933;
font-size:11px;
}
.comment .commentbox dl dd{
padding:10px;
font-size:14px;
line-height:25px;
color:#666;
}
/*---------------内容页:发表评论:标题*/
.comment .posttitle{
width:666px;
height:26px;
margin:10px auto;
background:url(../images/title_bg_1.gif) repeat-x;
border-top:1px solid #DDD;
border-bottom:1px solid #DDD;
}
.comment .posttitle strong{
letter-spacing:4px;
color:#444;
display:block;
margin:7px 0px 0px 13px;
}
.comment .postbox{
width:636px;
margin:5px auto;
overflow:hidden;
}
.comment .postbox .userbox{
width:636px;
overflow:hidden;
margin-top:10px;
}
.comment .postbox .userbox dl{
width:636px;
}
.comment .postbox .userbox dl dd{
float:left;
display:block;
padding-bottom:2px;
}
.comment .postbox .userbox dl dd input.username,.comment .postbox .userbox dl dd input.password{
width:100px;
border:1px solid #CCC;
padding:3px 0px 2px 5px;
margin-right:10px;
}
.comment .postbox .userbox dl dd.mtop{
margin:7px 7px 0px 0px;
}
.comment .postbox .txtbox{
width:636px;
line-height:25px;
}
.comment .postbox .txtbox textarea{
border:1px solid #CCC;
width:600px;
height:80px;
padding:5px;
}
.comment .postbox .sbut{
margin:10px;
}
.comment .postbox .userbox .submit{
margin-right:20px;
width:100px;
height:25px;
padding-top:2px;
background:url(../images/userlogin_submit.gif) repeat-x;
border:1px solid #D4B06A;
font-weight:bold;
color:#753D00;
letter-spacing:3px;
line-height:20px;
font-size:12px;
}
| zyyhong | trunk/jiaju001/news/templets/info/style/cls_page.css | CSS | asf20 | 6,818 |
@charset "gb2312";
/*----------首页左侧*/
.ileft{
width:608px;
float:left;
}
/*----------推荐信息*/
.nlist{
width:608px;
background:url(../images/nlist_title_bg.gif) repeat-x;
padding-top:4px;
}
/*----------推荐信息:分类*/
.nlist .nltitle{
width:608px;
height:25px;
background:url(../images/nlist_title_sr.gif) right no-repeat;
}
.nlist .nltitle ul {
width:608px;
height:25px;
float:left;
background:url(../images/nlist_title_sr.gif) left no-repeat;
}
.nlist .nltitle ul li{
float:left;
text-align:center;
margin-left:10px;
display:inline;
}
.nlist .nltitle ul li a{
display:block;
width:82px;
height:25px;
background:url(../images/nlist_li_bg.gif) left top repeat-x;
line-height:25px;
color:#C30;
text-decoration:none;
}
.nlist .nltitle ul li a:hover{
background:url(../images/nlist_li_bg.gif) left bottom repeat-x;
}
.nlist .nltitle ul li a.thisclass,.nlist ul li a.thisclass:hover{
background:url(../images/nlist_li_on.gif);
color:#FFF;
letter-spacing:2px;
font-weight:bold;
}
/*----------推荐信息:列表*/
.nlist dl{
width:600px;
margin:4px auto 0px;
}
.nlist dd{
width:600px;
display:none;
}
.nlist dd ul{
width:600px;
}
.nlist dd ul li{
width:300px;
line-height:31px;
float:left;
display:block;
overflow:hidden;
}
.nlist dd ul li span a{
text-decoration:none;
font-weight:bold;
color:#F63;
margin-left:10px;
}
.nlist dd ul li span a:hover{
color:#C00;
}
.nlist dd ul li a{
color:#666666;
}
/*----------分类*/
.classbox{
width:608px;
}
/*----------分类:标题*/
.classbox .cbtitle{
width:608px;
height:27px;
background:url(../images/classbox_tbg.gif) repeat-x;
clear:both;
}
.classbox .cbtitle .clsname{
width:150px;
height:17px;
padding-top:10px;
float:left;
margin-left:5px;
background:url(../images/classbox_tb.gif) left bottom no-repeat;
text-indent:10px;
font-weight:bold;
font-size:14px;
}
/*----------分类:地区*/
.classbox .cbtitle .area{
float:right;
margin-right:10px;
line-height:27px;
color:#FFFFFF;
}
.classbox .cbtitle .area a{
color:#FFFFFF;
}
/*----------分类:列表*/
.classbox .cblist{
width:606px;
margin:4px auto 0px;
border-left:1px solid #EEE;
border-right:1px solid #EEE;
overflow:hidden;
clear:both;
}
/*----------分类:BOX*/
.classbox .cblist dl{
width:572px;
display:block;
margin:18px auto 0px;
overflow:hidden;
}
.classbox .cblist dl dt{
display:block;
width:270px;
height:29px;
background:url(../images/cls_bbg.gif) no-repeat;
line-height:29px;
}
.classbox .cblist dl dt a{
font-weight:bold;
font-size:14px;
margin-left:10px;
}
.classbox .cblist dl dt span{
font-size:11px;
margin-left:5px;
color:#999999;
}
.classbox .cblist dl dd{
overflow:hidden;
}
.classbox .cblist dl dd a{
height:15px;
line-height:15px;
display:block;
float:left;
white-space:nowrap;
padding-left:10px;
padding-right:10px;
margin:10px 0px 3px -1px;
color:#36C;
overflow:hidden;
border-left:1px solid #DDD;
}
/*----------首页右侧*/
.iright{
width:280px;
float:right;
}
/*----------功能按钮*/
.butbox{
width:280px;
background:url(../images/butbox_bg.gif) top center no-repeat;
padding-top:5px;
}
.butbox ul{
width:278px;
border-color:#FFEC82;
border-style:solid;
border-width:0px 1px 1px 1px;
overflow:auto;
padding-bottom:8px;
}
.butbox ul li{
width:120px;
height:33px;
line-height:33px;
text-align:center;
float:left;
margin:7px 0px 0px 12px;
display:inline;
}
.butbox ul li a{
float:left;
display:block;
width:120px;
height:33px;
background:url(../images/butbox_but.gif) top no-repeat;
font-size:14px;
font-weight:bold;
color:#FFC;
letter-spacing:2px;
text-decoration:none;
}
.butbox ul li a:hover{
color:#600;
background-position:bottom;
}
/*----------列表*/
.slist{
width:280px;
background:url(../images/rlist_title_bg.jpg) left top no-repeat;
}
.slist dl{
width:280px;
background:url(../images/rlist_title_r.gif) right top no-repeat;
}
.slist dl dt{
width:280px;
line-height:21px;
padding-top:6px;
height:25px;
text-indent:12px;
font-weight:bold;
color:#FFF;
letter-spacing:2px;
}
.slist dl dd{
width:278px;
border-color:#EEE;
border-style:solid;
border-width:0px 1px 1px 1px;
overflow:auto;
padding-bottom:5px;
}
.slist dl dd ul{
width:276px;
}
.slist dl dd ul li{
width:276px;
line-height:31px;
float:left;
display:block;
overflow:hidden;
}
.slist dl dd ul li span a{
text-decoration:none;
color:#F63;
margin-left:16px;
margin-right:4px;
color:#999999;
}
.slist dl dd ull li a{
color:#333;
}
| zyyhong | trunk/jiaju001/news/templets/info/style/cls_index.css | CSS | asf20 | 4,754 |
@charset "gb2312";
/*----------全局*/
*{
padding:0px;
margin:0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
body{
font-size:12px;
}
ul{
list-style:none;
}
img{
border:0px;
}
a{
color:#444;
}
a:hover{
color:#F30;
text-decoration:none;
}
.cbody{
width:900px;
margin:0 auto;
}
.margintop{
margin-top:6px;
}
.floatclear{
clear:both;
}
input,select,img{
vertical-align:middle;
font-size:12px;
}
/*----------顶部全站导航*/
.sitenav{
height:29px;
background:url(../images/sitenav_bg.gif) repeat-x;
overflow:hidden;
}
.sitenav ul{
overflow:hidden;
float:right;
margin:8px 10px auto;
display:inline;
}
.sitenav ul li{
float:left;
margin-left:-1px;
border-left:1px solid #E3E3E3;
}
.sitenav ul li a{
float:left;
padding-left:10px;
padding-right:10px;
display:block;
color:#666666;
height:13px;
text-decoration:none;
white-space:nowrap;
}
.sitenav ul li a:hover{
color:#FF3300;
}
/*----------头部LOGO*/
.toplogo{
height:50px;
}
.toplogo .logobox{
width:300px;
float:left;
}
.toplogo .logoright{
float:right;
margin:9px 10px auto;
}
.toplogo .logoright ul{
height:33px;
background:#FFFEEC;
border:1px solid #FFF7BF;
float:left;
overflow:hidden;
}
.toplogo .logoright ul li{
float:left;
}
.toplogo .logoright ul li a{
height:33px;
line-height:33px;
display:block;
padding-left:18px;
padding-right:18px;
font-size:14px;
font-weight:bold;
text-decoration:none;
color:#666666;
float:left;
}
.toplogo .logoright ul li a:hover{
color:#000;
background:#FFF7BF;
}
/*----------顶部搜索*/
.topbox{
height:41px;
background:url(../images/topmenu_bg.gif) repeat-x;
overflow:hidden;
}
.topbox .searchbox{
float:left;
height:41px;
background:url(../images/searchbox_bg.gif) 0px 5px repeat-x;
}
.topbox .searchbox dl{
float:left;
display:block;
padding-right:8px;
background:url(../images/searchbox_right.gif) right 5px no-repeat;
}
.topbox .searchbox dl dd{
float:left;
display:block;
height:41px;
}
.topbox .searchbox dl dd.sboxleft{
width:38px;
background:url(../images/searchbox_left.gif) no-repeat;
}
/*----------搜索:关键字*/
.topbox .searchbox dl dd.txtbox{
width:180px;
}
.topbox .searchbox dl dd.txtbox input{
border:0px;
margin:11px 0px 0px 7px;
font-size:14px;
letter-spacing:2px;
width:172px;
color:#666666;
}
.topbox .searchbox dl dd.selectbox{
float:left;
}
.topbox .searchbox dl dd.selectbox select{
margin:10px 0px 0px 2px;
}
/*----------提交*/
.topbox .postbox{
float:left;
padding-top:6px;
}
.topbox .postbox input.sbut{
width:68px;
height:28px;
border:0px;
background:url(../images/searchbox_but1.gif) no-repeat;
letter-spacing:6px;
font-weight:bold;
color:#555;
float:left;
margin-left:7px;
}
.topbox .postbox a.pbut{
width:88px;
height:27px;
float:left;
display:block;
margin-left:7px;
background:url(../images/searchbox_but2.gif) center top no-repeat;
line-height:27px;
text-align:center;
text-decoration:none;
letter-spacing:3px;
font-weight:bold;
color:#F30;
}
.topbox .postbox a.pbut:hover{
color:#FFF;
background-position:center bottom;
}
.topbox .hotkey{
height:41px;
float:right;
background:url(../images/topmenu_right.gif) top right no-repeat;
padding-right:10px;
}
.topbox .hotkey strong{
height:41px;
line-height:41px;
display:block;
background:url(../images/searchbox_sr.gif) left no-repeat;
padding-left:14px;
color:#930;
float:left;
}
.topbox .hotkey a{
line-height:41px;
margin-left:5px;
color:#C60;
}
/*----------主内容*/
.main{
}
/*-------------------------分页*/
.pages{
width:680px;
height:25px;
margin:12px auto 0px;
clear:both;
background:#F7F7F7;
border-bottom:1px solid #FFF;
}
.pages .pcount{
display:inline;
padding-right:10px;
padding-left:10px;
float:left;
border-right:2px solid #CCC;
line-height:13px;
margin:6px 20px 0px 2px;
font-weight:bold;
color:#3366CC;
font-size:11px;
}
.pages .plist{
float:left;
padding-top:3px;
line-height:17px;
}
.pages .plist strong{
color:#FFF;
display:block;
float:left;
padding-left:8px;
padding-right:8px;
background:#F60;
border:1px solid #C33;
margin: 0px 3px 0px 0px;
}
.pages .plist a{
display:block;
height:17px;
float:left;
padding-left:8px;
padding-right:8px;
border:1px solid #DDD;
background:#FFF;
text-decoration:none;
margin-right:2px;
color:#000;
}
.pages .plist a:hover{
color:#FF0000;
}
/*-------------------------底部:版权信息*/
.footer{
clear:both;
border-top:1px solid #EEE;
}
.footer .copyright{
width:900px;
text-align:center;
color:#666666;
line-height:21px;
letter-spacing:1px;
margin:6px auto;
}
.footer .copyright span{
color:#669933;
}
.footer .slogo{
text-align:center;
}
| zyyhong | trunk/jiaju001/news/templets/info/style/cls_base.css | CSS | asf20 | 4,970 |
<?php xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
{dede:freelist/}
</urlset> | zyyhong | trunk/jiaju001/news/templets/googlemap.htm | HTML | asf20 | 134 |
var oScrollid = "scrollnews";
var oScrollMsgid = "scrollmsg";
var isStoped = false;
var preTop = 0;
var curTop = 0;
var stopTime = 0;
function scroll(){
try{
with(document.getElementById(oScrollid)){
noWrap = true;
}
document.getElementById(oScrollid).onmouseover = new Function('isStoped = true');
document.getElementById(oScrollid).onmouseout = new Function('isStoped = false');
document.getElementById(oScrollid).appendChild(document.getElementById(oScrollMsgid).cloneNode(true));
init_srolltext();
}catch(e){}
}
function init_srolltext(){
setTimeout(function(){document.getElementById(oScrollid).scrollTop=0;},0);
//oScroll.scrollTop = 0;
setInterval('scrollUp()', 15);
}
function scrollUp(){
if(isStoped) return;
curTop += 1;
if(curTop == 24) {
stopTime += 1;
curTop -= 1;
if(stopTime == 180) {
curTop = 0;
stopTime = 0;
}
}else{
preTop = document.getElementById(oScrollid).scrollTop;
document.getElementById(oScrollid).scrollTop += 1;
if(preTop == document.getElementById(oScrollid).scrollTop){
document.getElementById(oScrollid).scrollTop = 0;
document.getElementById(oScrollid).scrollTop += 1;
}
}
} | zyyhong | trunk/jiaju001/news/templets/js/scrollnews.js | JavaScript | asf20 | 1,263 |
function pigzmo(menu,list,length,mousetime){
var menus=getObject(menu).getElementsByTagName("a");
var lists=getObject(list).getElementsByTagName("dd");
var listname=list;
for(var oi=0;oi<lists.length;oi++){
lists[0].style.display="none";
}
if(ReadCookie(listname)){
SetContent(ReadCookie(listname),length,menus,lists,listname);
}else{
SetContent("0",length,menus,lists,listname);
}
for(var oi=0;oi<length;oi++){
MouseAction(oi,length,menus,lists,listname,mousetime);
}
}
function MouseAction(c,cl,menus,lists,listname,mousetime){
var waitInterval;
menus[c].onclick=function(){
SetContent(c,cl,menus,lists,listname);
}
menus[c].onmouseover=function(){
ws_c=c;
ws_cl=cl;
ws_menus=menus;
ws_lists=lists;
ws_listname=listname;
clearTimeout(waitInterval);
waitInterval=window.setTimeout("SetContent(ws_c,ws_cl,ws_menus,ws_lists,ws_listname);",mousetime);
}
menus[c].onmouseout=function(){
clearTimeout(waitInterval);
}
}
function SetContent(c,cl,menus,lists,listname){
getObject(listname).getElementsByTagName("dt")[0].style.display="none";
if (lists[c].style.display=="block"){
menus[c].blur();
return;
}
for(var mi=0;mi<cl;mi++){
menus[mi].className="";
}
menus[c].className="thisclass";
menus[c].blur();
for(var li=0;li<cl;li++){
lists[li].style.display="none";
}
lists[c].style.display="block";
SetCookie(listname,c,1000000);
}
function SetCookie(name,value,expires){
var exp=new Date();
exp.setTime(exp.getTime()+expires*60000);
document.cookie=name+"="+escape(value)+";expires="+exp.toGMTString();//+";domain=pigz.cn;path=/";
}
function ReadCookie(name){
var oRegex=new RegExp(name+'=([^;]+)','i');
var oMatch=oRegex.exec(document.cookie);
if(oMatch&&oMatch.length>1)return unescape(oMatch[1]);
else return '';
}
function getObject(objectId) {
if (document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId);
} else if (document.all && document.all(objectId)) {
return document.all(objectId);
} else if (document.layers && document.layers[objectId]) {
return document.layers[objectId];
} else {
return false;
}
} | zyyhong | trunk/jiaju001/news/templets/js/pigzmo.js | JavaScript | asf20 | 2,262 |
function getObject(objectId) {
if (document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId);
} else if (document.all && document.all(objectId)) {
return document.all(objectId);
} else if (document.layers && document.layers[objectId]) {
return document.layers[objectId];
} else {
return false;
}
} | zyyhong | trunk/jiaju001/news/templets/js/function.js | JavaScript | asf20 | 406 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>投票结果 - powered by dedecms</title>
<link href="../templets/style/nspage.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main mceneter">
<div class="toplogo">
<div class="logo">
<a href="/"><img src="../templets/images/toplogo.gif" /></a>
</div>
<div class="title">
投票调查
</div>
</div>
<div class="cmain">
<div class="ctitle">
<h1>投票结果</h1>
<span></span>
</div>
<div class="cbox mceneter">
<div class="votelist">
<div class="vtitle">
<h2>投票:<?php echo $voname?><?php echo $rsmsg?></h2>
<span>投票开始时间:<?php echo $starttime?> 投票结束时间:<?php echo $endtime?> 参与这次投票的总人数:<?php echo $totalcount?></span>
</div>
<div class="vbox">
<?php echo $votelist?>
</div>
</div>
</div>
</div>
</div>
<div class="copyright mceneter">
Powered by <a href="http://www.dedecms.com" target="_blank">DedeCms <?php echo $cfg_version ?></a> © 2004-2008 <a href="http://www.desdev.cn" target="_blank">DesDev</a> Inc.
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/vote.htm | HTML | asf20 | 1,388 |
{dede:page pagesize='5'/}
{dede:datalist}
document.write("<dl>");
document.write(" <dt><strong> [field:username/]([field:ip function=substr(@me,0,strrpos(@me,'.'))/].*) </strong>发表于:<span>[field:dtime function=GetDateMk('@me')/]</span> </dt>");
document.write(" <dd>[field:msg function='cnw_left_safe("@me",100)'/]</dd> ");
document.write("</dl>");
{/dede:datalist}
| zyyhong | trunk/jiaju001/news/templets/plus/feedback_templet_js.htm | HTML | asf20 | 387 |
<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户评论:<?php echo $arctitle?></title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
<div class="stop">
<span class="toptitle">评论</span>
<span class="toplink"><a href="/">返回主页</a></span></div>
<div class="smain">
<div class="mtitle">
<div class="mtname">对 <strong><a href='<?php echo $arcurl?>' style='font-size:11pt'><?php echo $arctitle?></a><a href="#"></a> </strong> 的评论</div>
<div class="mtlink"><!--<a href="#"></a>--></div>
</div>
<div class="mbox">
<!--评论-->
<div class="comment">
<!--评论:标题-->
<div class="commenttitle">
<div class="title"><strong>最新评论</strong></div>
</div>
<!--评论内容-->
<div class="commentbox">
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
<dl>
<dt><?php echo $row['username']?>(<?php echo ereg_replace("[^\.]{1,3}$","*",$row['ip']);?>) 发表于:<?php echo strftime("%y-%m-%d %H:%M:%S",$row['dtime'])?> <a href="feedback.php?fid=<?php echo $row['ID']?>&action=good&arcID=<?php echo $arcID?>"><img src="../templets/images/good.gif" border="0"></a>[<?php echo $row['good']?>]
<a href="feedback.php?fid=<?php echo $row['ID']?>&action=bad&arcID=<?php echo $arcID?>"><img src="../templets/images/bad.gif" border="0"></a>[<?php echo $row['bad']?>]</dt>
<dd><span style="word-break: break-all"><?php echo $row['msg']?></span></dd>
</dl>
<?php
}
?>
<!--分页-->
<div class="pages">
<div class="plist">
<?php echo $dlist->GetPageList(7);?></div>
</div>
</div>
<!--发表评论:标题-->
<div class="posttitle"><strong>发表评论</strong></div>
<!--发表评论-->
<div class="postbox">
<div class="txtbox">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="margin-top:6px">
<form action="feedback.php" method="post" name="feedback">
<input type="hidden" name="action" value="send">
<input type="hidden" name="arcID" value="<?php echo $arcID?>">
<input type="hidden" name="arcurl" value="<?php echo $arcurl?>">
<input type="hidden" name="arctitle" value="<?php echo $arctitle?>">
<input type="hidden" name="feedid" value="<?php echo $feedid?>">
<input type="hidden" name="isconfirm" value="yes">
<tr>
<td height="24" bgcolor="#F4F9F2"> <strong>§发表新评论:</strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> 用户名:
<input name="username" type="text" id="username" size="10">
(<a href="../member/index_do.php?fmdo=user&dopost=regnew" target="_blank"><u>新注册</u></a>)
密码:
<input name="pwd" type="text" id="pwd" size="10">
<input name="notuser" type="checkbox" id="notuser" value="1">
匿名评论 </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="300" border="0" cellspacing="1" cellpadding="1">
<tr>
<td> 验证码:
<input name="validate" type="text" id="validate" size="10">
<img src='../include/vdimgck.php' width='50' height='20'>
</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> 评论内容:(不能超过500字,请自觉遵守互联网相关政策法规)</td>
</tr>
<tr>
<td height="70" align="center" bgcolor="#FFFFFF"><textarea name="msg" rows="4" id="msg" style="width:98%"></textarea></td>
</tr>
<tr>
<td height="40" align="center" bgcolor="#FFFFFF"><input type='button' value='发表评论' name='sb' onclick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");' class="submit" /></td>
</tr>
</form>
</table>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/feedback_templet.htm | HTML | asf20 | 4,869 |
<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $cfg_webname?> - 高级搜索 - powered by dedecms</title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
<div class="stop">
<span class="toptitle">高级搜索</span>
<span class="toplink"><a href="<?php echo $cfg_indexurl?>">返回主页</a></span></div>
<div class="smain">
<div class="mtitle">
<div class="mtname"><strong><a href='<?php echo $cfg_indexurl?>'>
<?php echo $cfg_webname?></a> - 高级搜索:</strong></div>
</div>
<div class="mbox">
<div class="flbox"><br />
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D1DDCE">
<form action="search.php" method="post" name="form1" id="form1">
<tr bgcolor="#FFFFFF">
<td height="30" align="center" width="20%">网站栏目:</td>
<td height="30"> <?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,0,0);
echo "<select name='typeid' style='width:200'>\r\n";
echo "<option value='0' selected>--不限栏目--</option>\r\n";
echo $typeOptions;
echo "</select>";
$tl->Close();
?> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="center">关 键 字:</td>
<td width="490" height="30">
<input name="keyword" type="text" id="keyword" style="width:200" /></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="center">内容类型:</td>
<td height="30">
<select name="channelid" id="channeltype" style="width:100">
<option value="0" selected="selected">--不限--</option>
<?php
$dsql = new DedeSql(false);
$dsql->SetQuery("Select ID,typename From #@__channeltype order by ID desc");
$dsql->Execute();
while($row = $dsql->GetObject())
{
echo "<option value='".$row->ID."'>".$row->typename."</option>\r\n";
}
$dsql->Close();
?>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="center">关键字模式:</td>
<td height="30"><input type="radio" name="kwtype" value="1" checked="checked" />
逻辑与
<input name="kwtype" type="radio" value="0" />
逻辑或
</td>
</tr>
<tr bgcolor="#F4FCE4">
<td height="31" colspan="2" align="center" bgcolor="#F4F9F2"><input type="submit" name="button" id="button" value="搜索" class="submit"/> </td>
</tr>
</form>
</table>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/heightsearch.htm | HTML | asf20 | 3,343 |
<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>评论确认</title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
<div class="stop">
<span class="toptitle">评论</span>
<span class="toplink"><a href="/">返回主页</a></span></div>
<div class="smain">
<div class="mtitle">
<div class="mtname"><a href="feedback.php?arcID=<?php echo $arcID?>"><<返回>></a> 确认你评论的内容:</div>
</div>
<div class="">
<div class="svote">
<div class="vtbox">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<form action="feedback.php" method="post" name="feedback" id="feedback">
<input type="hidden" name="action" value="send" />
<input type="hidden" name="arcID" value="<?php echo $arcID?>" />
<input type="hidden" name="arcurl" value="<?php echo $arcurl?>" />
<input type="hidden" name="arctitle" value="<?php echo $arctitle?>" />
<input type="hidden" name="feedid" value="<?php echo $feedid?>" />
<input type="hidden" name="isconfirm" value="yes" />
<tr>
<td height="36">用户名:
<input name="username" type="text" id="username3" size="10" class="nb" value="<?php echo $username?>" />
(<a href="../member/index_do.php?fmdo=user&dopost=regnew" target="_blank"><u>新注册</u></a>)
密码:
<input name="pwd" type="password" id="pwd2" size="10"class="nb" value="<?php echo $pwd?>" />
<input name="notuser" type="checkbox" id="notuser2" value="1"<?if(!empty($notuser)) echo " checked";?> />
匿名评论
<input type='button' value='发表评论' name='sb' onclick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");' style='width:60;height:20' />
</td>
</tr>
<tr>
<td height="36"><table width="300" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="51">验证码: </td>
<td width="81"><input name="validate" type="text" id="validate" size="10" class="nb" /></td>
<td width="158"><img src='../include/vdimgck.php' width='50' height='20' /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="30">评论内容:(不能超过500字,请自觉遵守互联网相关政策法规)</td>
</tr>
<tr>
<td height="127"><textarea name="msg" rows="6" id="textarea" style="width:98%"><?php echo $msg?>
</textarea></td>
</tr>
</form>
</table>
</div>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/feedback_confirm.htm | HTML | asf20 | 3,487 |
<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>下载地址列表</title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
<div class="stop">
<span class="toptitle">下载</span>
<span class="toplink"><a href="/">返回主页</a></span></div>
<div class="smain">
<div class="mtitle">
<div class="mtname">软件名称:<a href='<?php echo $arcurl?>' style='font-size:11pt'><?php echo $arctitle?></a></div>
</div>
<div class="">
<div class="svote">
<div class="vtinfo">
下载地址列表:
<div class="vtbox"><?php echo $downlinks?></div>
</div>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/download_links_templet.htm | HTML | asf20 | 1,011 |
1227672308
| zyyhong | trunk/jiaju001/news/templets/plus/js.htm.cache.t | Perl | asf20 | 11 |
<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>图集详细页面 - powered by dedecms</title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
<div class="stop">
<span class="toptitle">图集</span>
<span class="toplink"><a href="/">返回主页</a></span></div>
<div class="smain">
<div class="mtitle">
<div class="mtname">图集详细页面 >> <a href='<?php echo $arcurl?>'><?php echo $arctitle?></a>:</div>
</div>
<div class="mbox">
<div class="flbox"> <br />
<table width='100%' border='0' cellpadding='2' cellspacing='1' bgcolor='#D1DDCE'>
<tr>
<td height="30" colspan="2" align='center' bgcolor='#FFFFFF'><?php echo $pageGuide?></td>
</tr>
<tr>
<td height="232" colspan="2" align='center' bgcolor='#FFFFFF'>
<a href='<?php echo $src?>' target='_blank'><img src='<?php echo $src?>' border='0'/></a> </td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/showphoto.htm | HTML | asf20 | 1,413 |
<!--
{dede:arclist row='8' titlelen='24'}
document.write("·<a href='[field:arcurl/]'>[field:title function="htmlspecialchars('@me')"/]</a><br>");
{/dede:arclist}
--> | zyyhong | trunk/jiaju001/news/templets/plus/js.htm | HTML | asf20 | 170 |
1227672309
| zyyhong | trunk/jiaju001/news/templets/plus/sitemap.htm.cache.t | Perl | asf20 | 11 |
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>{dede:field name='typename'/}</title>
<link>{dede:field name='typelink'/}</link>
<description>{dede:field name='title'/}</description>
<language>zh-cn</language>
<generator><![CDATA[{dede:field name='powerby'/}]]></generator>
<webmaster>{dede:field name='adminemail'/}</webmaster>
{dede:rssitem}
<item>
<title><![CDATA[[field:title/]]]></title>
<link>[field:fullurl/]</link>
<description><![CDATA[[field:description/]]]></description>
<pubDate>[field:stime/]</pubDate>
<category>[field:typename/]</category>
<author>[field:writer/]</author>
<comments>[field:source/]</comments>
</item>
{/dede:rssitem}
</channel>
</rss>
| zyyhong | trunk/jiaju001/news/templets/plus/rss.htm | HTML | asf20 | 747 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>RSS - powered by dedecms</title>
<link href="../templets/style/nspage.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main mceneter">
<div class="toplogo">
<div class="logo">
<a href="/"><img src="../templets/images/toplogo.gif" /></a> </div>
<div class="title">
RSS订阅地图
</div>
</div>
<div class="cmain">
<div class="ctitle">
<h1>RSS订阅地图</h1>
<span></span>
</div>
<div class="cbox mceneter">
<div class="maplist">
{dede:global name='maplist'/}
</div>
</div>
</div>
</div>
<div class="copyright mceneter">
Powered by <a href="http://www.dedecms.com" target="_blank">DedeCms <?php echo $cfg_version ?></a> © 2004-2008 <a href="http://www.desdev.cn" target="_blank">DesDev</a> Inc.
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/rssmap.htm | HTML | asf20 | 1,078 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>友情链接-北京家居网</title>
<link href="../templets/style/nspage.css" rel="stylesheet" type="text/css" />
</head>
<?php
$titlelen = 50;
$dsql = new DedeSql(false);
$dsql->SetQuery("Select * from #@__flink where ischeck>0 order by sortrank asc");
$dsql->Execute();
$txtlink ="";
$imglink ="";
$linkdata = "";
while($dbrow=$dsql->GetObject())
{
$wtitle = cn_substr($dbrow->webname,$titlelen);
if($dbrow->logo==""){
$txtlink .= "<a href='".$dbrow->url."' target='_blank'>$wtitle</a>\n\t\t\t\t\t";
}else{
$imglink .= "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' width='88' height='31' border='0' alt='$wtitle'></a>\n\t\t\t\t\t";
}
}
$dsql->Close();
if($dopost=="save"){
ShowMsg("成功增加一个链接,但需要审核后才能显示!","",1);
}
?>
<body>
<div class="main mceneter">
<div class="toplogo">
<div class="logo">
<a href="/"><img src="../templets/images/toplogo.gif" /></a> </div>
<div class="title">
友情链接
</div>
</div>
<div class="cmain">
<div class="ctitle">
<h1>所有链接</h1>
<span></span>
</div>
<div class="cbox mceneter">
<div class="linklist">
<div class="txtlink">
<?php echo $txtlink; ?>
</div>
<div class="imglink">
<?php echo $imglink; ?>
</div>
</div>
</div>
<div class="ctitle">
<h1>申请加入</h1>
<span></span>
</div>
<div class="cbox mceneter">
<div class="linkadd">
<form name="addlink" method="post" action="flink.php">
<input type='hidden' name='dopost' value='save' />
<dl>
<dt>网站名:</dt>
<dd><input name="webname" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>网址:</dt>
<dd><input name="url" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>网站LOGO:</dt>
<dd><input name="logo" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>站长eMail:</dt>
<dd><input name="email" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>网站类型:</dt>
<dd>
<select name="typeid" id="typeid">
<?php
$dsql = new DedeSql(false);
$dsql->SetQuery("select * from #@__flinktype");
$dsql->Execute();
while($row=$dsql->GetObject())
{
echo " <option value='".$row->ID."'>".$row->typename."</option>\r\n";
}
$dsql->Close();
?>
</select>
</dd>
</dl>
<dl>
<dt>网站概况:</dt>
<dd><textarea name="msg" cols="30" rows="3"></textarea>
</dd>
</dl>
<dl>
<dt>验证码:</dt>
<dd><input name="validate" type="text" size="4" /><img src="../include/vdimgck.php" width="50" height="20" />
</dd>
</dl>
<div class="submit">
<input name="提交" type="submit" id="提交" value="提交" class="button" />
</div>
</form>
</div>
</div>
</div>
</div>
<div class="copyright mceneter">
Powered by <a href="http://www.homebjjj.com" target="_blank">北京家居网</a> ©2008 </div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/flink-list.htm | HTML | asf20 | 3,432 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>网站地图 - powered by dedecms</title>
<link href="../templets/style/nspage.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main mceneter">
<div class="toplogo">
<div class="logo">
<a href="/"><img src="../templets/images/toplogo.gif" /></a> </div>
<div class="title">
网站地图
</div>
</div>
<div class="cmain">
<div class="ctitle">
<h1>网站地图</h1>
<span></span>
</div>
<div class="cbox mceneter">
<div class="maplist">
{dede:global name='maplist'/}
</div>
</div>
</div>
</div>
<div class="copyright mceneter">
Powered by <a href="http://www.dedecms.com" target="_blank">DedeCms <?php echo $cfg_version ?></a> © 2004-2008 <a href="http://www.desdev.cn" target="_blank">DesDev</a> Inc.
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/sitemap.htm | HTML | asf20 | 1,081 |
<html>
<head>
<title>留言簿 - powered by dedecms</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel=stylesheet href="images/css.css" type="text/css">
</head>
<body topmargin="2" >
<center>
<table width="720" height="68px;" border="0" cellspacing="0" cellpadding="0" style="border-bottom:2px solid #DDD;margin-bottom:5px;">
<tr>
<td align="left" valign="bottom" style="background:url(images/toplogo.gif) left 30px no-repeat;font-size:16px; font-weight:bold;letter-spacing:2px;padding-left:200px;padding-bottom:8px;"> 留言本 </td>
<td align="right" valign="bottom" style="padding-bottom:10px;padding-right:10px;">
<a href="#write">[签写留言]</a> </td>
</tr>
</table>
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
<table width='720' border='0' cellpadding='3' cellspacing='1' bgcolor='#CCCCCC'>
<tr>
<td width='160' rowspan='3' valign='top' bgcolor='#FFFFFF'>
<table border='0' cellPadding='4' cellSpacing='0' width='100%'>
<tr>
<td align=center width='17%'>
<img src='images/<?php echo $row["face"]?>.gif' border=0>
<?php echo GetIsCheck($row['ischeck'],$row['ID'])?>
</td>
</tr>
</table>
<P>
姓名:<?php echo $row['uname']?><br>
来自:<?php echo $row['ip']?><br>
QQ:<?php echo $row['qq']?><br>
</P>
</td>
<td width='600' bgcolor='#FFFFFF'><img height='16' src='images/time.gif' width='16'> 发表时间: <?php echo $row['dtime']?> </td>
</tr>
<tr>
<td height='100' bgcolor='#FFFFFF' style='word-break: break-all'>
<?php echo $row['msg']?>
</td>
</tr>
<tr>
<td bgcolor='#FFFFFF'>
<a href='mailto:<?php echo $row["email"]?>'><img src='images/mail.gif' border=0 width='16' height='16'>[邮件]</a>
<a href='http://<?php echo $row['homepage']?>' target='_blank'><img src='images/home.gif' border=0 width='16' height='16'>[主页]</a>
<a href='edit.php?ID=<?php echo $row['ID']?>'><img src='images/quote.gif' border=0 height=16 width=16>[回复/编辑]</a>
<a href='edit.php?ID=<?php echo $row['ID']?>&job=del'><img src='images/del.gif' border=0 height=16 width=16>[删除]</a>
</td>
</tr>
</table>
<table width='720'><td height='2'></td></table>
<?php } ?>
<table border='0' cellpadding='4' cellspacing='0' width='720' align='center'>
<tr>
<td align="right">
<?php echo $dlist->GetPageList(7);?>
</td>
</tr>
<tr><td></td></tr>
</table>
<a name="write"></a>
<table width="720" border="0" cellspacing="1" cellpadding="4" align="center" bgcolor="#CCCCCC">
<form method="post" action="savepost.php">
<tr bgcolor="#ffffff">
<td width="10%" align="center" nowrap><font color="#FF0000">*</font>你的姓名:</td>
<td width="40%"><input type="text" maxlength="10" name="uname" size="36" class="input"></td>
<td width="10%" align="center" nowrap>OICQ号码:</td>
<td width="40%"><input maxlength="20" type="text" name="qq" size="46" class="input"></td>
</tr>
<tr bgcolor="#ffffff">
<td align="center" nowrap> 电子邮件:</td>
<td><input maxlength="80" type="text" name="email" size="36" class="input"></td>
<td align="center" nowrap height="12">个人主页:</td>
<td height="12"><input maxlength="80" type="text" name="homepage" size="46" class="input"></td>
</tr>
<tr bgcolor="#ffffff">
<td align="center" nowrap width="10%">验 证 码:</td>
<td height="12" colspan="3"> <table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84"><input name="validate" type="text" id="vdcode2" size="10"></td>
<td width="116"><img src='../../include/vdimgck.php' width='50' height='20'></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#ffffff">
<td align="center" nowrap width="10%"> <font color="#FF0000">*</font>留言内容:<br>
(1000字内) </td>
<td align="left" width="40%"><textarea name="msg" cols="36" rows="8" class="textarea"></textarea></td>
<td align="center" nowrap height="2" width="10%">选择头像:</td>
<td nowrap height="2" width="40%">
<input type="radio" name="img" value="01" checked>
<img src="images/01.gif" width="25" height="25"> <input type="radio" name="img" value="02">
<img src="images/02.gif" width="25" height="25"> <input type="radio" name="img" value="03">
<img src="images/03.gif" width="25" height="25"> <input type="radio" name="img" value="04">
<img src="images/04.gif" width="25" height="25"> <input type="radio" name="img" value="05">
<img src="images/05.gif" width="25" height="25"> <br> <input type="radio" name="img" value="06">
<img src="images/06.gif" width="25" height="25"> <input type="radio" name="img" value="07">
<img src="images/07.gif" width="25" height="25"> <input type="radio" name="img" value="08">
<img src="images/08.gif" width="25" height="25"> <input type="radio" name="img" value="09">
<img src="images/09.gif" width="25" height="25"> <input type="radio" name="img" value="10">
<img src="images/10.gif" width="25" height="25"> <br><input type="radio" name="img" value="11">
<img src="images/11.gif" width="25" height="25"> <input type="radio" name="img" value="12">
<img src="images/12.gif" width="25" height="25"> <input type="radio" name="img" value="13">
<img src="images/13.gif" width="25" height="25"> <input type="radio" name="img" value="14">
<img src="images/14.gif" width="25" height="25"> <input type="radio" name="img" value="15">
<img src="images/15.gif" width="25" height="25"> <br><input type="radio" name="img" value="16">
<img src="images/16.gif" width="25" height="25"> <input type="radio" name="img" value="17">
<img src="images/17.gif" width="25" height="25"><input type="radio" name="img" value="18">
<img src="images/18.gif" width="25" height="25"> <input type="radio" name="img" value="19">
<img src="images/19.gif" width="25" height="25"> <input type="radio" name="img" value="20">
<img src="images/20.gif" width="25" height="25"> <br><input type="radio" name="img" value="21">
<img src="images/21.gif" width="25" height="25"> <input type="radio" name="img" value="22">
<img src="images/22.gif" width="25" height="25"> <input type="radio" name="img" value="23">
<img src="images/23.gif" width="25" height="25"> <input type="radio" name="img" value="24">
<img src="images/24.gif" width="25" height="25"> </td>
</tr>
<tr bgcolor="#ffffff">
<td align="center" nowrap colspan="4"> <input maxlength="1000" type="submit" name="Submit" value="提 交" class="btn">
<input type="reset" name="Submit2" value="取 消" class="btn">
</td>
</tr>
</form>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="40" align="center"><a href="http://www.dedecms.com" target="_blank">Power by DedeCms 织梦内容管理系统</a></td>
</tr>
</table>
</center>
</body>
</html> | zyyhong | trunk/jiaju001/news/templets/plus/guestbook.htm | HTML | asf20 | 7,497 |
<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $arctitle?> - powered by dedecms</title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
<div class="stop"><span class="toplink"><a href="/">返回主页</a></span></div>
<div class="smain">
<div class="mtitle">
<div class="mtname">提示信息:<?php echo $msgtitle?></div>
</div>
<div class="mbox">
<div class="flbox">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="29"><?php echo $moremsg?></td>
</tr>
<tr>
<td height="99" valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#DDEAC8">
<tr bgcolor="#EFF4EA">
<td width="17%" height="20" align="center">文档标题:</td>
<td width="83%" height="20"><?php echo $arctitle?></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="20" align="center" bgcolor="#FFFFFF">发布时间:</td>
<td height="20"><?php echo $pubdate?></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="70" align="center" bgcolor="#FFFFFF">文档简介:</td>
<td><?php echo $description?></td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" bgcolor="#F9F9EE"> 返回页面: <a href="<?php echo $cfg_member_dir?>/"><u>会员主页</u></a> <a href='javascript:history.go(-1)'><u>上一页</u></a> </td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/view_msg.htm | HTML | asf20 | 2,077 |
<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>推荐 - powered by dedecms</title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
<div class="stop">
<span class="toptitle">推荐</span>
<span class="toplink"><a href="/">返回主页</a> <a href="flink.php">所有链接</a></span></div>
<div class="smain">
<div class="mtitle">
<div class="mtname">文章名称:<strong><a href="<?php echo $arcurl ?>"><?php echo $arctitle ?></a></strong></div>
</div>
<div class="mbox">
<div class="flbox">
<ul>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="3"></td>
</tr>
<tr>
<td height="100" align="center" valign="top">
<form name="form1" method="post" action="recommend.php">
<input type="hidden" name="arcurl" value="<?php echo $arcurl ?>">
<input type="hidden" name="action" value="send">
<input type="hidden" name="arcID" value="<?php echo $arcID?>">
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" height="30">你好友的Email:</td>
<td width="85%" align="left"><input name="email" type="text" id="email"></td></tr>
<tr>
<td width="15%" height="30">你的大名:</td>
<td width="85%" align="left"><input name="name" type="text" id="name"></td></tr>
<tr>
<td height="30">你的留言:</td>
<td> </td>
</tr>
<tr align="center">
<td height="61" colspan="2">
<textarea name="msg" cols="72" rows="6" id="msg" style="width:98%">
你好,我在 [<?php echo $cfg_webname?>] 发现了一个很好的东东:
你不妨去看看吧!
文档的名称是:<?php echo $arctitle?>
网址是:<?php echo $cfg_basehost.$arcurl?>
</textarea>
</td>
</tr>
<tr>
<td height="50"> </td>
<td align="left"><input type="submit" name="Submit" value=" 发 送 "></td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td height="3"></td>
</tr>
</table>
</ul>
</div>
</div>
</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/recommend.htm | HTML | asf20 | 2,294 |
<!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="Content-Type" content="text/html; charset=utf-8" />
<title>申请友情链接 -北京家居网</title>
<link href="../templets/style/nspage.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main mceneter">
<div class="toplogo">
<div class="logo">
<a href="/"><img src="../templets/images/toplogo.gif" /></a> </div>
<div class="title">
友情链接
</div>
</div>
<div class="cmain">
<div class="ctitle">
<h1>申请加入</h1>
<span></span>
</div>
<div class="cbox mceneter">
<div class="linkadd">
<form name="addlink" method="post" action="flink.php">
<input type='hidden' name='dopost' value='save' />
<dl>
<dt>网站名:</dt>
<dd><input name="webname" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>网址:</dt>
<dd><input name="url" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>网站LOGO:</dt>
<dd><input name="logo" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>站长eMail:</dt>
<dd><input name="email" type="text" size="30" />
</dd>
</dl>
<dl>
<dt>网站类型:</dt>
<dd>
<select name="typeid" id="typeid">
<?php
$dsql = new DedeSql(false);
$dsql->SetQuery("select * from #@__flinktype");
$dsql->Execute();
while($row=$dsql->GetObject())
{
echo " <option value='".$row->ID."'>".$row->typename."</option>\r\n";
}
$dsql->Close();
?>
</select>
</dd>
</dl>
<dl>
<dt>网站概况:</dt>
<dd><textarea name="msg" cols="30" rows="3"></textarea>
</dd>
</dl>
<dl>
<dt>验证码:</dt>
<dd><input name="validate" type="text" size="4" /><img src="../include/vdimgck.php" width="50" height="20" />
</dd>
</dl>
<div class="submit">
<input name="提交" type="submit" id="提交" value="提交" class="button" />
</div>
</form>
</div>
</div>
</div>
</div>
<div class="copyright mceneter">
Powered by <a href="http://www.homebjjj.com" target="_blank">北京家居网</a> © 2008</div>
</body>
</html>
| zyyhong | trunk/jiaju001/news/templets/plus/flink-add.htm | HTML | asf20 | 2,405 |
1227672306
| zyyhong | trunk/jiaju001/news/templets/plus/feedback_templet_js.htm.cache.t | Perl | asf20 | 11 |
<table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" class="uline">[[field:cataloglink/]] [field:booklink/]</td>
<td class="uline">[field:title/]</td>
<td class="uline">[field:lastpost function="GetDateMk(@me)"/]</td>
</tr>
</table> | zyyhong | trunk/jiaju001/news/templets/system/book_contentlist.htm | HTML | asf20 | 278 |
<table width='100%'border='0' cellpadding='3' cellspacing='1' bgcolor="#BEC99C" style="margin-top:6px">
<tr bgcolor="#FFFFFF">
<td width='20%' rowspan='4' align='center'> [field:imglink/]</td>
<td width='40%' height='20' align="center" bgcolor="#F4F9E8">图书名称</td>
<td width='14%' align="center" bgcolor="#F4F9E8">上架日期</td>
<td width='14%' align="center" bgcolor="#F4F9E8">图书类型</td>
<td width='12%' align="center" bgcolor="#F4F9E8">人气</td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td height='20'><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width='10%' align='center'><img src="[field:global name='cfg_plus_dir'/]/img/sdd.gif" width="13" height="13"></td>
<td>
<b>[[field:cataloglink/]]</b>
<a href='[field:bookurl/]' style="color:blue"><b>[field:bookname/]</b></a>
</td>
</tr>
</table></td>
<td>[field:pubdate function='GetDateMk(@me)'/]</td>
<td>[field:booktypename/]</td>
<td>[field:click/]</td>
</tr>
<tr>
<td colspan="4" valign="top" bgcolor="#FFFFFF">图书简介:[field:description/]</td>
</tr>
<tr>
<td colspan="4" valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td>
<font color="#006600">作者:</font>[field:author/]
<font color="#006600">【是否完成连载:[field:ischeck/]】</font>
</td>
</tr>
</table>
</td>
</tr>
</table> | zyyhong | trunk/jiaju001/news/templets/system/book_booklist_m.htm | HTML | asf20 | 1,853 |
<li>
<a href='[field:groupurl/]' target="_blank">[[field:groupname function="cn_substr(@me,10)"/]]</a>
<a href="[field:url/]" title="[field:subject/]" target="_blank">[field:subject/]</a>([field:lastpost function="GetDateMk('@me')"/])
</li> | zyyhong | trunk/jiaju001/news/templets/system/groupthreads.htm | HTML | asf20 | 243 |
| <a href='{in:field name='url'}{/in:field}'>{in:field name='classname'}{/in:field}</a>
| zyyhong | trunk/jiaju001/news/templets/system/book_catalog.htm | HTML | asf20 | 95 |
<table border='0' width='100%'>
<tr height='24'>
<td width='2%'><img src='[field:global name='cfg_templeturl'/]/img/file.gif' width='18' height='17'></td>
<td width='70%'><b>[field:typelink /] [field:textlink /]</b></td>
<td width='10%'></td>
<td width='18%'>点击:[field:click /]</td>
</tr>
<tr><td height='2' colspan='4' background='[field:global name='cfg_templeturl'/]/img/writerbg.gif'></td></tr>
<tr>
<td colspan='4'>
[field:description /]<font color='#8F8C89'>([field:stime /])</font>
</td>
</tr>
</table> | zyyhong | trunk/jiaju001/news/templets/system/list_fulllist.htm | HTML | asf20 | 577 |
·<a href="[field:arcurl /]">[field:title /]</a><br>
| zyyhong | trunk/jiaju001/news/templets/system/tag_arclist.htm | HTML | asf20 | 54 |
<ul style="padding:0px;margin:0px;list-style-type: none;">
<li style='float:left;padding-left:3px;padding-right:3px;'>
<img src='[field:global name="cfg_templeturl"/]/img/channellist.gif' width='14' height='16'>
</li>
<li style='float:left;'>
<a href="[field:typelink/]">[field:typename/]</a>
</li>
<li style='float:right;padding-right:3px;'>
<a href="[field:typelink/]">更多...</a>
</li>
</ul> | zyyhong | trunk/jiaju001/news/templets/system/part_autochannel.htm | HTML | asf20 | 409 |
·<a href='{in:field name='url'}{/in:field}'>{in:field name='classname'}{/in:field}</a>
| zyyhong | trunk/jiaju001/news/templets/system/book_catalog_son.htm | HTML | asf20 | 100 |
·<a href="[field:arcurl /]">[field:title /]</a><br />
| zyyhong | trunk/jiaju001/news/templets/system/part_arcfulllist.htm | HTML | asf20 | 56 |
<li>
<span><img style="visibility: inherit;" title="[field:groupname/]" src="[field:icon/]" /></span>
<span><a href="[field:url/]" title="[field:groupname/]" target="_blank">[field:groupname/]</a></span>
</li> | zyyhong | trunk/jiaju001/news/templets/system/groups.htm | HTML | asf20 | 212 |
<table width="98%" border="0" cellpadding="1" cellspacing="1" bgcolor="#BED1AB">
<tr>
<td height="24" bgcolor="#FAFDEE"><strong>[field:name/]</strong></td>
</tr>
<tr>
<td height="24" bgcolor="#FFFFFF">[field:value/]</td>
</tr>
</table>
<div style="font-size:2px;line-height:100%"> </div> | zyyhong | trunk/jiaju001/news/templets/system/tag_fieldlist.htm | HTML | asf20 | 302 |
<a href="[field:arcurl /]" target="_blank">[field:title /]</a>
| zyyhong | trunk/jiaju001/news/templets/system/spec_arclist.htm | HTML | asf20 | 64 |
<b><a href='[field:link/]'>[field:tagname/]</a></b> | zyyhong | trunk/jiaju001/news/templets/system/tag_current.htm | HTML | asf20 | 59 |
·<a href="[field:filename /]">[field:title /]</a><br/>
| zyyhong | trunk/jiaju001/news/templets/system/part_arclist.htm | HTML | asf20 | 57 |
<table width="99%" border="0" cellpadding="3" cellspacing="1" bgcolor="#BFCFA9">
<tr>
<td bgcolor="#E6F2CC">
{dede:type}
<table border="0" cellpadding="0" cellspacing="0" width="98%">
<tr>
<td width='10%'><img src='[field:global name='cfg_templeturl'/]/img/channellist.gif' width='14' height='16'></td>
<td width='60%'>
<a href="[field:typelink /]">[field:typename /]</a>
</td>
<td width='30%' align='right'>
<a href="[field:typelink /]">更多...</a>
</td>
</tr>
</table>
{/dede:type}
</td>
</tr>
<tr>
<td height="100" valign="top" bgcolor="#FFFFFF">
{dede:arclist}
·<a href="[field:arcurl /]">[field:title /]</a><br>
{/dede:arclist}
</td>
</tr>
</table>
<div style='font-size:2px'> </div>
| zyyhong | trunk/jiaju001/news/templets/system/part_channelartlist.htm | HTML | asf20 | 817 |
<div style='padding:2px;margin:0px;width:96%;border:1px solid #d9efcb'>
[field:imglink/]
</div>
<div style='padding:2px;margin:0px;width:96%;'>
[field:textlink/]
</div> | zyyhong | trunk/jiaju001/news/templets/system/part_imglist.htm | HTML | asf20 | 176 |
<a href="[field:typelink /]">[field:typename /]</a> | zyyhong | trunk/jiaju001/news/templets/system/part_type_list.htm | HTML | asf20 | 51 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tbspan" style="margin-top:6px">
<tr>
<td height="1" colspan="2" background="[field:templeturl/]/img/dot_hor.gif"></td>
</tr>
<tr>
<td width="5%" height="26" align="center"><img src="[field:templeturl/]/img/item.gif" width="18" height="17"></td>
<td height="26">
<b>
[field:typelink function='str_replace("a ","a class=ulink ",@me)'/]
<a href="[field:arcurl/]" class="ulink">[field:title/]</a> </b></td>
</tr>
<tr>
<td height="20" colspan="2" style="padding-left:3px">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="15%" rowspan="2" align="center">
<table width="80" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFCC">
<tr>
<td align="center">
<div id='digg[field:id/]' class='diggArea'>
<div class='diggNum'>[field:digg/]</div>
<div class="diggLink"><a href='javascript:Digg('digg',[field:id/]);'>顶一下</a></div>
</div>
</td>
</tr>
</table>
</td>
<td width="85%">
<font color="#8F8C89">日期:[field:pubdate function="GetDateTimeMK(@me)"/]
点击:[field:click/] 评论:[field:postnum/]</font>
<a href="[field:phpurl/]/feedback.php?arcID=[field:id/]"><img src="[field:templeturl/]/img/comment.gif" width="12" height="12" border="0" title="查看评论"></a>
</td>
</tr>
<tr>
<td height="48">[field:description/]</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="padding-left:3px"> </td>
</tr>
</table> | zyyhong | trunk/jiaju001/news/templets/system/list_digglist.htm | HTML | asf20 | 1,530 |
<dd>
<span class="tclass">[<a href='[field:typeurl/]'>[field:tidname/]</a>]</span>
<span class="tlink"><a href="[field:url/]">[field:title/]</a></span>
</dd>
| zyyhong | trunk/jiaju001/news/templets/system/asks.htm | HTML | asf20 | 164 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px;">
<tr>
<td width="90" class="bline" height='24'> ~name~</td>
<td class="bline">~form~</td>
</tr>
</table> | zyyhong | trunk/jiaju001/news/templets/system/custom_fields_admin.htm | HTML | asf20 | 239 |
<dl>
<dt><span class="title"><span class="titlea">~notename~</span></span></dt>
<dd>
~spec_arclist~
</dd>
</dl> | zyyhong | trunk/jiaju001/news/templets/system/channel/channel_spec_note.htm | HTML | asf20 | 139 |
<a href='~link~'>进入下载地址列表</a>
| zyyhong | trunk/jiaju001/news/templets/system/channel/channel_downlinkpage.htm | HTML | asf20 | 47 |
<div style='width:360px;padding:0pa;margin:0px'>
<div style='float:left;width:40px'><a href='~link~' target='_blank'><img src='~phppath~/img/addon.gif' border='0' align='center'></a></div>
<div><a href='~link~' target='_blank'><u>~link~</u></a></div>
</div>
| zyyhong | trunk/jiaju001/news/templets/system/channel/channel_addon.htm | HTML | asf20 | 262 |
<dd><a href='~link~' style='color:red' target='_blank'>~server~</a></dd>
| zyyhong | trunk/jiaju001/news/templets/system/channel/channel_downlinks.htm | HTML | asf20 | 74 |