@@ -354,7 +354,6 @@ function CkRemote() { | |||
//载入指定宽高的AJAX窗体 | |||
function LoadQuickDiv(e, surl, oname, w, h) { | |||
console.log(e); | |||
if ($Nav() == 'IE') { | |||
if (window.event) { | |||
var posLeft = window.event.clientX - 20; | |||
@@ -25,36 +25,26 @@ if (empty($aid)) { | |||
//读取文档信息 | |||
if ($action == '') { | |||
if ($type == 'sys') { | |||
//读取文档信息 | |||
$arcRow = GetOneArchive($aid); | |||
if ($arcRow['aid'] == '') { | |||
ShowMsg("无法把未知文档推荐给好友!", "-1"); | |||
exit(); | |||
} | |||
extract($arcRow, EXTR_OVERWRITE); | |||
} else { | |||
$arcRow = $dsql->GetOne("SELECT s.*,t.* FROM `#@__member_stow` AS s LEFT JOIN `#@__member_stowtype` AS t ON s.type=t.stowname WHERE s.aid='$aid' AND s.type='$type'"); | |||
if (!is_array($arcRow)) { | |||
ShowMsg("无法把未知文档推荐给好友!", "-1"); | |||
exit(); | |||
} | |||
$arcRow['arcurl'] = $arcRow['indexurl'] . "=" . $arcRow['aid']; | |||
extract($arcRow, EXTR_OVERWRITE); | |||
//读取文档信息 | |||
$arcRow = GetOneArchive($aid); | |||
if ($arcRow['aid'] == '') { | |||
ShowMsg("无法把未知文档推荐给好友!", "-1"); | |||
exit(); | |||
} | |||
extract($arcRow, EXTR_OVERWRITE); | |||
} | |||
//发送推荐信息 | |||
else if ($action == 'send') { | |||
if (!CheckEmail($email)) { | |||
echo "<script>alert('Email格式不正确!');history.go(-1);</script>"; | |||
ShowMsg("Email格式不正确", -1); | |||
exit(); | |||
} | |||
$mailbody = ''; | |||
$msg = dede_htmlspecialchars($msg); | |||
$msg = RemoveXSS(dede_htmlspecialchars($msg)); | |||
$mailtitle = "你的好友给你推荐了一篇文章"; | |||
$mailbody .= "$msg \r\n\r\n"; | |||
$mailbody .= "Power by https://www.dedebiz.com DedeCMSV6内容管理系统!"; | |||
$mailbody .= "Powered by https://www.dedebiz.com DedeCMSV6内容管理系统!"; | |||
$headers = "From: " . $cfg_adminemail . "\r\nReply-To: " . $cfg_adminemail; | |||
@@ -233,7 +233,6 @@ | |||
$.post("{dede:field name='phpurl'/}/feedback.php", good, function (data) { | |||
let result = JSON.parse(data); | |||
$(`#feedbackGood${fid}`).html(result.data); | |||
console.log(result); | |||
}) | |||
} | |||
</script> |
@@ -1,171 +0,0 @@ | |||
<!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={dede:global.cfg_soft_lang/}" /> | |||
<title>comment</title> | |||
<link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> | |||
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/static/js/dedeajax2.js"></script> | |||
<script> | |||
function CheckLogin(){ | |||
var taget_obj = document.getElementById('_ajax_feedback'); | |||
myajax = new DedeAjax(taget_obj,false,false,'','',''); | |||
myajax.SendGet2("{dede:global.cfg_cmsurl/}/member/ajax_feedback.php"); | |||
DedeXHTTP = null; | |||
} | |||
function checkSubmit(){ | |||
if(document.feedback.msg.value!='') document.feedback.submit(); | |||
else alert("评论内容不能为空!"); | |||
} | |||
function postBadGood(ftype,fid) | |||
{ | |||
var taget_obj = document.getElementById(ftype+fid); | |||
var saveid = GetCookie('badgoodid'); | |||
if(saveid != null) | |||
{ | |||
var saveids = saveid.split(','); | |||
var hasid = false; | |||
saveid = ''; | |||
j = 1; | |||
for(i=saveids.length-1;i>=0;i--) | |||
{ | |||
if(saveids[i]==fid && hasid) continue; | |||
else { | |||
if(saveids[i]==fid && !hasid) hasid = true; | |||
saveid += (saveid=='' ? saveids[i] : ','+saveids[i]); | |||
j++; | |||
if(j==10 && hasid) break; | |||
if(j==9 && !hasid) break; | |||
} | |||
} | |||
if(hasid) { alert('您刚才已表决过了喔!'); return false;} | |||
else saveid += ','+fid; | |||
SetCookie('badgoodid',saveid,1); | |||
} | |||
else | |||
{ | |||
SetCookie('badgoodid',fid,1); | |||
} | |||
myajax = new DedeAjax(taget_obj,false,false,'','',''); | |||
myajax.SendGet2("{dede:global.cfg_phpurl/}/feedback.php?aid="+fid+"&action="+ftype+"&fid="+fid); | |||
DedeXHTTP = null; | |||
} | |||
</script> | |||
</head> | |||
<body> | |||
<div class="pleft mt1"> | |||
<dl class="tbox"> | |||
<dt> | |||
<strong>最新评论</strong> | |||
<span class="more"><a href="{dede:global.cfg_phpurl/}/feedback.php?aid=<?php echo $id;?>" target="_blank">查看所有评论</a></span> | |||
</dt> | |||
<dd> | |||
<div class="dede_comment"> | |||
{dede:datalist} | |||
<?php | |||
if($fields['userid']!='') $spaceurl = $cfg_basehost.'/member/index.php?uid='.$fields['userid']."' target='_blank'"; | |||
else $spaceurl = "#"; | |||
if($fields['username']=='匿名') $spaceurl = "#"; | |||
$fields['bgimg'] = 'cmt-neu.gif'; | |||
$fields['ftypetitle'] = '该用户表示中立'; | |||
if($fields['ftype']=='bad') { | |||
$fields['bgimg'] = 'cmt-bad.gif'; | |||
$fields['ftypetitle'] = '该用户表示差评'; | |||
} | |||
else if($fields['ftype']=='good') { | |||
$fields['bgimg'] = 'cmt-good.gif'; | |||
$fields['ftypetitle'] = '该用户表示好评'; | |||
} | |||
?> | |||
<div class='decmt-box'> | |||
<div class='decmt-title'> | |||
<span class='moodico'><img src='{dede:global.cfg_templeturl/}/images/mood/ico-mood-<?php if($fields['face']>0) echo $fields['face'];?>.gif'/></span> | |||
<span class='username'><a href='<?php echo $spaceurl;?>'>{dede:field.username/}</a></span> | |||
<span class='date'>{dede:field.dtime function=GetDateMk(@me)/}</span> | |||
<span>发表</span> | |||
</div> | |||
<div class='decmt-act'> | |||
<span id='goodfb{dede:field.id/}'><a href=#goodfb{dede:field.id/} onclick=postBadGood('goodfb',{dede:field.id/})>支持</a>[{dede:field.good/}]</span> | |||
<span id='badfb{dede:field.id/}'><a href=#badfb{dede:field.id/} onclick=postBadGood('badfb',{dede:field.id/})>反对</a>[{dede:field.bad/}]</span> | |||
<span><a href='{dede:global.cfg_phpurl/}/feedback.php?fid={dede:field.id/}&action=quote' target="_blank">引用</a></span> | |||
</div> | |||
<div class='decmt-content'>{dede:field.msg function='jstrim(@me,100)'/}<img src='{dede:global.cfg_templeturl/}/images/{dede:field.bgimg/}' alt='{dede:field.ftypetitle/}' /> | |||
</div> | |||
</div> | |||
{/dede:datalist} | |||
</div><!-- /dede_comment --> | |||
</dd> | |||
</dl> | |||
</div><!-- /comment --> | |||
<div class="mt1 pleft"> | |||
<dl class="tbox"> | |||
<dt> | |||
<strong>发表评论</strong> | |||
<span class="more"><a href="{dede:global.cfg_phpurl/}/feedback.php?aid=<?php echo $id;?>" target="_blank">查看所有评论</a></span> | |||
</dt> | |||
<dd> | |||
<div class="dede_comment_post"> | |||
<form action="{dede:global.cfg_phpurl/}/feedback.php" method="post" name="feedback" target="_blank"> | |||
<input type="hidden" name="action" value="send" /> | |||
<input type="hidden" name="comtype" value="comments"> | |||
<input type="hidden" name="aid" value="<?php echo $id;?>" /> | |||
<input type="hidden" name="isconfirm" value="yes" /> | |||
<div class="dcmp-title"> | |||
<small>请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。</small> | |||
</div><!-- /dcmp-title --> | |||
<div class="dcmp-stand"> | |||
<strong>评价:</strong> | |||
<input type="radio" name="feedbacktype" checked="1" value="feedback" id="dcmp-stand-neu" /><label for="dcmp-stand-neu"><img src="{dede:global.cfg_templeturl/}/images/cmt-neu.gif" />中立</label> | |||
<input type="radio" name="feedbacktype" value="good" id="dcmp-stand-good" /><label for="dcmp-stand-good"><img src="{dede:global.cfg_templeturl/}/images/cmt-good.gif" />好评</label> | |||
<input type="radio" name="feedbacktype" value="bad" id="dcmp-stand-bad" /><label for="dcmp-stand-bad"><img src="{dede:global.cfg_templeturl/}/images/cmt-bad.gif" />差评</label> | |||
</div><!-- /dcmp-stand --> | |||
<div class="dcmp-content"> | |||
<textarea cols="60" name="msg" rows="5" class="ipt-txt"></textarea> | |||
</div><!-- /dcmp-content --> | |||
<div class="dcmp-mood"> | |||
<strong>表情:</strong> | |||
<ul> | |||
<li><input type="radio" name='face' value='6' checked="1" /><img src="{dede:global.cfg_templeturl/}/images/mood/ico-mood-6.gif" /></li> | |||
<li><input type="radio" name='face' value='4'/><img src="{dede:global.cfg_templeturl/}/images/mood/ico-mood-4.gif" /></li> | |||
<li><input type="radio" name='face' value='3'/><img src="{dede:global.cfg_templeturl/}/images/mood/ico-mood-3.gif" /></li> | |||
<li><input type="radio" name='face' value='5'/><img src="{dede:global.cfg_templeturl/}/images/mood/ico-mood-5.gif" /></li> | |||
<li><input type="radio" name='face' value='2'/><img src="{dede:global.cfg_templeturl/}/images/mood/ico-mood-2.gif" /></li> | |||
<li><input type="radio" name='face' value='1'/><img src="{dede:global.cfg_templeturl/}/images/mood/ico-mood-1.gif" /></li> | |||
<li><input type="radio" name='face' value='7'/><img src="{dede:global.cfg_templeturl/}/images/mood/ico-mood-7.gif" /></li> | |||
</ul> | |||
</div><!-- /dcmp-mood --> | |||
<div class="dcmp-post"><!--未登录--> | |||
<div class="dcmp-userinfo" id="_ajax_feedback"> | |||
用户名:<input type="text" name="username" size="16" class="ipt-txt" /> | |||
密码:<input name="pwd" type="password" size="16" class="ipt-txt" /> | |||
验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform: uppercase;"/><img src="{dede:global.cfg_cmsurl/}/plus/vdimgck.php" /> | |||
<input type="checkbox" name="notuser" id="dcmp-submit-guest" /><label for="dcmp-submit-guest"> 匿名? </label> | |||
</div> | |||
<script language="javascript" type="text/javascript">CheckLogin();</script> | |||
<div class="dcmp-submit"> | |||
<button type="button" onClick='checkSubmit()'>发表评论</button> | |||
</div> | |||
</div> | |||
</form> | |||
</div><!-- /dede_comment_post --> | |||
</dd> | |||
</dl> | |||
</div> | |||
<script type="text/javascript"> | |||
function adjust() | |||
{ | |||
var h = document.documentElement.scrollHeight || document.body.scrollHeight; | |||
if (document.getElementById('xclient')) | |||
{ | |||
var divEl = document.getElementById('xclient').parentNode; | |||
console.log(document.getElementById('xclient').parentNode); | |||
divEl.parentNode.removeChild(divEl); | |||
} | |||
var el = document.createElement('div'); | |||
el.innerHTML = '<iframe src="<?php echo $GLOBALS['siteurl'];?>/xclient.html#' + h + '" name="xclient" id="xclient" width="0" height="0" style="display:none;"></iframe>'; | |||
document.body.appendChild(el); | |||
} | |||
window.onload = adjust; | |||
</script> | |||
</body> | |||
</html> |
@@ -1,63 +1,56 @@ | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<!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=<?php echo $cfg_soft_lang; ?>" /> | |||
<title><?php echo $cfg_webname;?>_高级搜索</title> | |||
<link href="<?php echo $cfg_templets_skin; ?>/style/dedecms.css" rel="stylesheet" type="text/css" media="screen" /> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" /> | |||
<title><?php echo $cfg_webname;?>_高级搜索</title> | |||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/bootstrap.min.css"> | |||
<link href="<?php echo $cfg_cmsurl;?>/static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/dede.css"> | |||
</head> | |||
<body class="flinkpage"> | |||
<div class="header"> | |||
<div class="top w960 center"> | |||
<div class="title"> | |||
<h1><a href="<?php echo $cfg_basehost;?>"><img src="<?php echo $cfg_templets_skin; ?>/images/logo.gif" alt="{dede:global.cfg_webname/}"/></a> </h1> | |||
</div><!-- /title --> | |||
<body class="flinkpage"> | |||
</div><!-- /top --> | |||
</div><!-- /header --> | |||
<?php include("plus_header.htm") ;?> | |||
<div class="w960 clear center mt1 cmt-box"> | |||
<div class="sp-title"> | |||
<h2>高级搜索</h2> | |||
<span class="more"> | |||
<a href="<?php echo $cfg_basehost;?>">返回首页</a> | |||
</span> | |||
</div> | |||
<div class="formbox"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#cccccc"> | |||
<form name="form1" action="search.php" method="get"> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center" width="20%">网站栏目:</td> | |||
<td height="30"> | |||
<?php | |||
<div class="container"> | |||
<div class="formbox mt-3"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#cccccc" class='table'> | |||
<form name="form1" action="search.php" method="get"> | |||
<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 "<select name='typeid' style='width:200' class='form-control'>\r\n"; | |||
echo "<option value='0' selected>--不限栏目--</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">关 键 字:</td> | |||
<td width="490" height="30"><input name="q" type="text" id="q" class="ipt-txt"></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">发布时间:</td> | |||
<td height="30"><select name="starttime" id="starttime" > | |||
<option value="-1" selected>--不限--</option> | |||
<option value="7">一周以内</option> | |||
<option value="30">一个月内</option> | |||
<option value="90">三个月内</option> | |||
<option value="180">半年以内</option> | |||
</select></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">内容类型:</td> | |||
<td height="30"> <select name="channeltype" id="channeltype" > | |||
<option value="0" selected>--不限--</option> | |||
<?php | |||
</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">关 键 字:</td> | |||
<td width="490" height="30"><input name="q" type="text" id="q" class="form-control"></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">发布时间:</td> | |||
<td height="30"><select name="starttime" id="starttime"> | |||
<option value="-1" selected>--不限--</option> | |||
<option value="7">一周以内</option> | |||
<option value="30">一个月内</option> | |||
<option value="90">三个月内</option> | |||
<option value="180">半年以内</option> | |||
</select></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">内容类型:</td> | |||
<td height="30"> <select name="channeltype" id="channeltype" class="form-control"> | |||
<option value="0" selected>--不限--</option> | |||
<?php | |||
$dsql->SetQuery("Select id,typename From #@__channeltype order by id desc"); | |||
$dsql->Execute(); | |||
@@ -66,59 +59,53 @@ | |||
echo "<option value='".$row->id."'>".$row->typename."</option>\r\n"; | |||
} | |||
?> | |||
</select> </td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">排序方式:</td> | |||
<td height="30"> <select name="orderby" id="orderby" > | |||
<option value="sortrank" selected>--默认--</option> | |||
<option value="senddate">收录时间</option> | |||
<option value="pubdate">发布时间</option> | |||
<option value="id">文档ID</option> | |||
</select> </td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">显示条数:</td> | |||
<td height="30"><input name="pagesize" type="text" id="pagesize" value="10" size="4" class="ipt-txt"></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">关键字模式:</td> | |||
<td height="30"><input name="kwtype" type="radio" value="1" checked> | |||
或 | |||
<input type="radio" name="kwtype" value="0"> | |||
与</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">搜索内容:</td> | |||
<td height="30"> | |||
<select name="searchtype" id="searchtype" class="op1"> | |||
<option value="titlekeyword" selected>默认搜索</option> | |||
<option value="title">仅搜索标题</option> | |||
</select> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#F4FCE4"> | |||
<td height="30" align="center" bgcolor="#FFFFFF"> </td> | |||
<td height="30" bgcolor="#FFFFFF"><input name="搜索" type="submit" class="btn-2" value="搜索" border="0" /> <input name="重置" type="reset" class="btn-2" value="重置" border="0" id="充值" /></td> | |||
</tr> | |||
</form> | |||
</table> | |||
<br /> | |||
</div> | |||
</div> | |||
</select> </td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">排序方式:</td> | |||
<td height="30"> <select name="orderby" id="orderby" class="form-control"> | |||
<option value="sortrank" selected>--默认--</option> | |||
<option value="senddate">收录时间</option> | |||
<option value="pubdate">发布时间</option> | |||
<option value="id">文档ID</option> | |||
</select> </td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">显示条数:</td> | |||
<td height="30"><input name="pagesize" type="text" id="pagesize" value="10" size="4" class="form-control"></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">关键字模式:</td> | |||
<td height="30"> | |||
<label><input name="kwtype" type="radio" value="1" checked> | |||
或</label> | |||
<label><input type="radio" name="kwtype" value="0"> | |||
与</label></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="30" align="center">搜索内容:</td> | |||
<td height="30"> | |||
<select name="searchtype" id="searchtype" class="form-control"> | |||
<option value="titlekeyword" selected>默认搜索</option> | |||
<option value="title">仅搜索标题</option> | |||
</select> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#F4FCE4"> | |||
<td height="30" align="center" bgcolor="#FFFFFF"> </td> | |||
<td height="30" bgcolor="#FFFFFF"> | |||
<button type="submit" class="btn btn-success">搜索</button> | |||
<button type="reset" class="btn btn-outline-success">重置</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
<br /> | |||
</div> | |||
</div> | |||
<!-- //底部模板 --> | |||
<div class="footer w960 center mt1 clear"> | |||
<div class="footer_left"></div> | |||
<div class="footer_body"> | |||
<span class="gotop"><a href="javascript:scroll(0,0)"><img src="<?php echo $cfg_templets_skin; ?>/images/top.gif" height="11" width="61" alt="返回顶部"/></a></span> | |||
<p class="powered"> | |||
Powered by <a href="https://www.dedebiz.com" title="DedeCMSV6内容管理系统-国内流行的内容管理系统(CMS)多端全媒体解决方案。" target="_blank"><strong>DedeCMS{dede:global name='cfg_version'/}</strong></a> © 2020 <a href="https://www.dedebiz.com/" target="_blank">DedeBIZ</a> Inc.<br /><div class="copyright">{dede:global name='cfg_powerby'/} {dede:global name='cfg_beian'/}</div></p> | |||
</div> | |||
<div class="footer_right"></div> | |||
</div> | |||
<?php include("plus_footer.htm") ;?> | |||
</body> | |||
</html> | |||
</html> |
@@ -1,37 +1,37 @@ | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<!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=<?php echo $cfg_soft_lang; ?>" /> | |||
<title>推荐_<?php echo $title; ?>_{dede:global name='cfg_webname'/}</title> | |||
<link href="<?php echo $cfg_templets_skin; ?>/style/dedecms.css" rel="stylesheet" type="text/css" media="screen" /> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" /> | |||
<title>推荐_<?php echo $title; ?>_{dede:global name='cfg_webname'/}</title> | |||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/bootstrap.min.css"> | |||
<link href="<?php echo $cfg_cmsurl;?>/static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/dede.css"> | |||
</head> | |||
<body class="flinkpage"> | |||
<div class="header"> | |||
<div class="top w960 center"> | |||
<div class="title"> | |||
<h1><a href="<?php echo $cfg_basehost;?>" title="<?php echo $cfg_webname;?>"><img src="<?php echo $cfg_templets_skin; ?>/images/logo.gif" height="40" width="233" alt=""/></a> </h1> | |||
</div><!-- /title --> | |||
<body class="flinkpage"> | |||
</div><!-- /top --> | |||
</div><!-- /header --> | |||
<div class="w960 clear center mt1 cmt-box"> | |||
<div class="sp-title"> | |||
<h2>推荐:<?php echo $title; ?></h2> | |||
</div> | |||
<div class="formbox"> | |||
<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 $aid; ?>"> | |||
<table width="100%" border="0" cellspacing="2" cellpadding="1"> | |||
<tr> | |||
<td height="30" align="right" width="150">你好友的Email:</td> | |||
<td height="30" align="left"><input name="email" type="text" class="ipt-txt" id="email" value="@"/></td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="right">你的留言:</td> | |||
<td height="30" align="left"><textarea name="msg" cols="80" rows="16" id="msg" class="ipt-txt"> | |||
<?php include("plus_header.htm") ;?> | |||
<div class="container"> | |||
<div class="sp-title mt-3"> | |||
<strong>推荐:<?php echo $title; ?></strong> | |||
</div> | |||
<div class="formbox"> | |||
<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 $aid; ?>"> | |||
<table width="100%" border="0" class="table" cellspacing="2" cellpadding="1"> | |||
<tr> | |||
<td height="30" align="right" width="150">你好友的Email:</td> | |||
<td height="30" align="left"><input name="email" type="text" class="form-control" id="email" value="@" /></td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="right">你的留言:</td> | |||
<td height="30" align="left"><textarea name="msg" cols="80" rows="16" id="msg" class="form-control"> | |||
你好,我在 [<?php echo $cfg_webname; ?>] 发现了一个很好的东东: | |||
你不妨去看看吧! | |||
@@ -39,25 +39,20 @@ | |||
网址是:<?php $arcUrl = ($cfg_multi_site != 'Y' ? $cfg_basehost : '').$arcurl; echo $arcUrl;?> | |||
</textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left"> </td> | |||
<td height="30" align="left"><input type="submit" class="btn-2" value="发送" /></td> | |||
</tr> | |||
</table> | |||
</form> | |||
</div> | |||
</div> | |||
<!-- //底部模板 --> | |||
<div class="footer w960 center mt1 clear"> | |||
<div class="footer_left"></div> | |||
<div class="footer_body"> | |||
<span class="gotop"><a href="javascript:scroll(0,0)"><img src="<?php echo $cfg_templets_skin; ?>/images/top.gif" height="11" width="61" alt="返回顶部"/></a></span> | |||
<p class="powered"> | |||
Powered by <a href="https://www.dedebiz.com" title="DedeCMSV6内容管理系统-国内流行的内容管理系统(CMS)多端全媒体解决方案。" target="_blank"><strong>DedeCMS{dede:global name='cfg_version'/}</strong></a> © 2020 <a href="https://www.dedebiz.com/" target="_blank">DedeBIZ</a> Inc.<br /><div class="copyright">{dede:global name='cfg_powerby'/} {dede:global name='cfg_beian'/}</div></p> | |||
</div> | |||
<div class="footer_right"></div> | |||
</div> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left"> </td> | |||
<td height="30" align="left"> | |||
<button type="submit" class="btn btn-success">发送</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</div> | |||
</div> | |||
<?php include("plus_footer.htm") ;?> | |||
</body> | |||
</html> | |||
</html> |