@@ -41,7 +41,7 @@ | |||||
<div class="dcmp-post"><!--未登陆--> | <div class="dcmp-post"><!--未登陆--> | ||||
<div class="dcmp-userinfo" id="_ajax_feedback"> | <div class="dcmp-userinfo" id="_ajax_feedback"> | ||||
用户名:<input type="text" name="username" size="16" class="ipt-txt" style="text-transform: uppercase;"/> | 用户名:<input type="text" name="username" size="16" class="ipt-txt" style="text-transform: uppercase;"/> | ||||
验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/><img src= "{dede:global.cfg_cmspath/}/include/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" /> | |||||
验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/><img src= "{dede:global.cfg_cmspath/}/plus/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" /> | |||||
<input type="checkbox" name="notuser" id="dcmp-submit-guest" /><label for="dcmp-submit-guest" />匿名? </label> | <input type="checkbox" name="notuser" id="dcmp-submit-guest" /><label for="dcmp-submit-guest" />匿名? </label> | ||||
</div> | </div> | ||||
{dede:php} | {dede:php} | ||||
@@ -145,7 +145,7 @@ function PostComment() | |||||
f.fid.value = 0; | f.fid.value = 0; | ||||
if(f.validate) | if(f.validate) | ||||
{ | { | ||||
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value; | |||||
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value; | |||||
f.validate.value = ''; | f.validate.value = ''; | ||||
} | } | ||||
} | } | ||||
@@ -46,7 +46,7 @@ | |||||
if(preg_match("/4/",$safe_gdopen)){ | if(preg_match("/4/",$safe_gdopen)){ | ||||
echo '验证码: | echo '验证码: | ||||
<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/> | <input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/> | ||||
<img src= "'.$cfg_cmspath.'/include/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" class="vdimg"/>'; | |||||
<img src= "'.$cfg_cmspath.'/plus/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" class="vdimg"/>'; | |||||
} | } | ||||
{/dede:php} | {/dede:php} | ||||
<input type="checkbox" name="notuser" id="dcmp-submit-guest" /> | <input type="checkbox" name="notuser" id="dcmp-submit-guest" /> | ||||
@@ -159,7 +159,7 @@ function PostComment() | |||||
f.fid.value = 0; | f.fid.value = 0; | ||||
if(f.validate) | if(f.validate) | ||||
{ | { | ||||
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value; | |||||
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value; | |||||
f.validate.value = ''; | f.validate.value = ''; | ||||
} | } | ||||
@@ -190,7 +190,7 @@ function ajaxFeedback(aid, fid, type) | |||||
eval(formname); | eval(formname); | ||||
if(f.validate) | if(f.validate) | ||||
{ | { | ||||
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value; | |||||
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value; | |||||
f.validate.value = ''; | f.validate.value = ''; | ||||
} | } | ||||
@@ -134,7 +134,7 @@ | |||||
<input name="pwd" type="password" 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;"/> | <input type="text" name="validate" size="4" class="ipt-txt" style="text-transform: uppercase;"/> | ||||
<img src="{dede:global.cfg_cmsurl/}/include/vdimgck.php" /> | |||||
<img src="{dede:global.cfg_cmsurl/}/plus/vdimgck.php" /> | |||||
<input type="checkbox" name="notuser" id="dcmp-submit-guest" /> | <input type="checkbox" name="notuser" id="dcmp-submit-guest" /> | ||||
<label for="dcmp-submit-guest"> 匿名? </label> | <label for="dcmp-submit-guest"> 匿名? </label> | ||||
</div> | </div> | ||||
@@ -10,7 +10,7 @@ | |||||
<link href="{dede:global.cfg_templets_skin/}/style/scroll.css" rel="stylesheet" type="text/css" /> | <link href="{dede:global.cfg_templets_skin/}/style/scroll.css" rel="stylesheet" type="text/css" /> | ||||
<meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}"> | <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}"> | ||||
<script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | ||||
<script type="text/javascript" src="{dede:global.cfg_cmsurl/}/images/js/jquery.min.js"></script> | |||||
<script type="text/javascript" src="{dede:global.cfg_cmsurl/}/static/js/jquery.min.js"></script> | |||||
<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/jcarousellite.js"></script> | <script type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/jcarousellite.js"></script> | ||||
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script> | <script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script> | ||||
<script language="javascript" type="text/javascript"> | <script language="javascript" type="text/javascript"> | ||||
@@ -9,7 +9,7 @@ | |||||
<meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/index.php"> | <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/index.php"> | ||||
<script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/index.php";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/index.php";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | ||||
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script> | <script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script> | ||||
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmspath/}/images/js/jquery.min.js" ></script> | |||||
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmspath/}/static/js/jquery.min.js" ></script> | |||||
<script language="javascript" type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/pic_scroll.js"></script> | <script language="javascript" type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/pic_scroll.js"></script> | ||||
<script language="javascript" type="text/javascript"> | <script language="javascript" type="text/javascript"> | ||||
<!-- | <!-- | ||||
@@ -184,7 +184,7 @@ document.write('<embed src="{dede:global.cfg_templeturl /}/default/images/bcastr | |||||
echo ' | echo ' | ||||
<div class="fb"><span>验证码:</span> | <div class="fb"><span>验证码:</span> | ||||
<input type="text" name="vdcode" size="8" class="ipt-txt" /> | <input type="text" name="vdcode" size="8" class="ipt-txt" /> | ||||
<img id="vdimgck" align="absmiddle" onClick="this.src=this.src+\'?\'" style="cursor:pointer;margin-left:0px;text-transform:uppercase;" alt="看不清?点击更换" src="'.$cfg_cmspath.'/include/vdimgck.php"/></div> | |||||
<img id="vdimgck" align="absmiddle" onClick="this.src=this.src+\'?\'" style="cursor:pointer;margin-left:0px;text-transform:uppercase;" alt="看不清?点击更换" src="'.$cfg_cmspath.'/plus/vdimgck.php"/></div> | |||||
'; | '; | ||||
} | } | ||||
{/dede:php} | {/dede:php} | ||||
@@ -168,7 +168,7 @@ | |||||
<td width="180" class="td1">验证码</td> | <td width="180" class="td1">验证码</td> | ||||
<td><a name="mate_vdimgck" /> | <td><a name="mate_vdimgck" /> | ||||
<input name="vdcode" id="vdcode" type="text" class="ipt-txt" size="10" style="text-transform:uppercase;" /> | <input name="vdcode" id="vdcode" type="text" class="ipt-txt" size="10" style="text-transform:uppercase;" /> | ||||
<a href="#mate_vdimgck"><img id="vdimgck_img" src="../include/vdimgck.php" hspace="6" align="absmiddle" onClick="vdimgck();" title="看不清换一张" /></a> <a href="#mate_vdimgck" onClick="vdimgck();">看不清换一张</a></td> | |||||
<a href="#mate_vdimgck"><img id="vdimgck_img" src="../plus/vdimgck.php" hspace="6" align="absmiddle" onClick="vdimgck();" title="看不清换一张" /></a> <a href="#mate_vdimgck" onClick="vdimgck();">看不清换一张</a></td> | |||||
</tr> | </tr> | ||||
</tbody> | </tbody> | ||||
<tfoot> | <tfoot> | ||||
@@ -183,7 +183,7 @@ | |||||
<script language="JavaScript" type="text/javascript"> | <script language="JavaScript" type="text/javascript"> | ||||
function vdimgck() | function vdimgck() | ||||
{ | { | ||||
document.getElementById("vdimgck_img").src = '../include/vdimgck.php?'+Math.random(); | |||||
document.getElementById("vdimgck_img").src = '../plus/vdimgck.php?'+Math.random(); | |||||
} | } | ||||
</script> | </script> | ||||
{dede:include filename="../default/footer.htm"/} | {dede:include filename="../default/footer.htm"/} | ||||
@@ -138,7 +138,7 @@ function postBadGood(ftype,fid) | |||||
<div class="dcmp-userinfo" id="_ajax_feedback"> | <div class="dcmp-userinfo" id="_ajax_feedback"> | ||||
用户名:<input type="text" name="username" size="16" class="ipt-txt" /> | 用户名:<input type="text" name="username" size="16" class="ipt-txt" /> | ||||
密码:<input name="pwd" type="password" 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/}/include/vdimgck.php" /> | |||||
验证码:<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> | <input type="checkbox" name="notuser" id="dcmp-submit-guest" /><label for="dcmp-submit-guest"> 匿名? </label> | ||||
</div> | </div> | ||||
<script language="javascript" type="text/javascript">CheckLogin();</script> | <script language="javascript" type="text/javascript">CheckLogin();</script> | ||||
@@ -158,7 +158,7 @@ function postBadGood(ftype,fid) | |||||
匿名评论 | 匿名评论 | ||||
<?php if(preg_match("/4/",$safe_gdopen)){ ?> | <?php if(preg_match("/4/",$safe_gdopen)){ ?> | ||||
验证码:<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform: uppercase;" class="nb" /> | 验证码:<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform: uppercase;" class="nb" /> | ||||
<img src='../include/vdimgck.php' width='60' height='24' /> | |||||
<img src='../plus/vdimgck.php' width='60' height='24' /> | |||||
<?php } ?> | <?php } ?> | ||||
<button type="button" onClick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");' class="btn-2">发表评论</button> | <button type="button" onClick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");' class="btn-2">发表评论</button> | ||||
@@ -110,7 +110,7 @@ | |||||
匿名评论 | 匿名评论 | ||||
<?php if(preg_match("/4/",$safe_gdopen)){ ?> | <?php if(preg_match("/4/",$safe_gdopen)){ ?> | ||||
验证码:<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform: uppercase;" class="nb" /> | 验证码:<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform: uppercase;" class="nb" /> | ||||
<img src='../include/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /> | |||||
<img src='../plus/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /> | |||||
<?php } ?> | <?php } ?> | ||||
<button type="button" class="btn-2" onClick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");'>发表评论</button> | <button type="button" class="btn-2" onClick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");'>发表评论</button> | ||||
@@ -44,7 +44,7 @@ | |||||
<?php if(preg_match("/4/",$safe_gdopen)){ ?> | <?php if(preg_match("/4/",$safe_gdopen)){ ?> | ||||
验证码: | 验证码: | ||||
<input name="validate" type="text" id="validate" size="10" style="height:18px;width:36px;margin-right:6px;text-transform: uppercase;" class="nb" /> | <input name="validate" type="text" id="validate" size="10" style="height:18px;width:36px;margin-right:6px;text-transform: uppercase;" class="nb" /> | ||||
<img src='{dede:global.cfg_cmsurl/}/include/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" id="vdimg_<?php echo $row['id']; ?>"/> | |||||
<img src='{dede:global.cfg_cmsurl/}/plus/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" id="vdimg_<?php echo $row['id']; ?>"/> | |||||
<?php } ?> | <?php } ?> | ||||
<button type="button" class="btn-2" onClick='javascript:if(CKEDITOR.instances.msg_<?php echo $row['id']; ?>.getData()!="") ajaxQuotePost(<?php echo $row['id']; ?>); else alert("评论内容不能为空!");'>发表评论</button> | <button type="button" class="btn-2" onClick='javascript:if(CKEDITOR.instances.msg_<?php echo $row['id']; ?>.getData()!="") ajaxQuotePost(<?php echo $row['id']; ?>); else alert("评论内容不能为空!");'>发表评论</button> | ||||
</div> | </div> | ||||
@@ -63,7 +63,7 @@ function ajaxFeedback(aid, fid, type) | |||||
eval(formname); | eval(formname); | ||||
if(f.validate) | if(f.validate) | ||||
{ | { | ||||
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value; | |||||
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value; | |||||
f.validate.value = ''; | f.validate.value = ''; | ||||
} | } | ||||
@@ -230,7 +230,6 @@ function ajaxQuotePost(fid) | |||||
window.CKEDITOR_BASEPATH='{dede:global.cfg_cmsurl/}/include/ckeditor/'; | window.CKEDITOR_BASEPATH='{dede:global.cfg_cmsurl/}/include/ckeditor/'; | ||||
//]]> | //]]> | ||||
</script> | </script> | ||||
<script type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/ckeditor/ckeditor.js?t=B8DJ5M3"></script> | |||||
{dede:php} | {dede:php} | ||||
GetEditor('msg','',100,'Feedback','print','false',true); | GetEditor('msg','',100,'Feedback','print','false',true); | ||||
{/dede:php} | {/dede:php} | ||||
@@ -250,7 +249,7 @@ function ajaxQuotePost(fid) | |||||
<?php if(preg_match("/4/",$safe_gdopen)){ ?> | <?php if(preg_match("/4/",$safe_gdopen)){ ?> | ||||
验证码: | 验证码: | ||||
<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform:uppercase;" class="nb" /> | <input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform:uppercase;" class="nb" /> | ||||
<img src='../include/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /> | |||||
<img src='../plus/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /> | |||||
<?php } ?> | <?php } ?> | ||||
<button type="submit" class="btn-2">发表评论</button> | <button type="submit" class="btn-2">发表评论</button> | ||||
</div> | </div> | ||||
@@ -69,7 +69,7 @@ | |||||
<td><table width="200" border="0" cellspacing="0" cellpadding="0"> | <td><table width="200" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="84"><input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;"></td> | <td width="84"><input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;"></td> | ||||
<td width="116"><img src='../include/vdimgck.php' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /></td> | |||||
<td width="116"><img src='../plus/vdimgck.php' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /></td> | |||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
</tr> | </tr> | ||||
@@ -95,7 +95,7 @@ | |||||
<table border="0" cellspacing="0" cellpadding="0"> | <table border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="70"><input name="validate" type="text" id="vdcode2" class="ipt-txt" style="width:60px;text-transform: uppercase;" /></td> | <td width="70"><input name="validate" type="text" id="vdcode2" class="ipt-txt" style="width:60px;text-transform: uppercase;" /></td> | ||||
<td><img src='../include/vdimgck.php'/></td> | |||||
<td><img src='../plus/vdimgck.php'/></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -153,7 +153,7 @@ | |||||
<table border="0" cellspacing="0" cellpadding="0"> | <table border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="70"><input name="validate" type="text" id="vdcode2" class="ipt-txt" style="width:60px;text-transform: uppercase;" /></td> | <td width="70"><input name="validate" type="text" id="vdcode2" class="ipt-txt" style="width:60px;text-transform: uppercase;" /></td> | ||||
<td><img src='../include/vdimgck.php'/></td> | |||||
<td><img src='../plus/vdimgck.php'/></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||