<?php require_once(dirname(__FILE__)."/config.php"); AjaxHead(); if($myurl == '') { exit(''); } if ($cfg_ml->fields['rank'] >= '20') { $row = $dsql->GetOne(" Select * From `dede_addonarticle` where `aid`=$val "); echo $row['字段英文名']; } ?> |
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script> <script language="javascript" type="text/javascript"> <!-- function CheckLogin_c(){ var taget_obj = document.getElementById('_userlogin_c'); var req = document.getElementById('hid').value; myajax = new DedeAjax(taget_obj,false,false,'','',''); myajax.SendGet2("{dede:global.cfg_cmspath/}/member/ajax_loginsta_c.php?val="+req); DedeXHTTP = null;} --> </script> |
<span id="_userlogin_c"><a href="/member/index_do.php?fmdo=user&dopost=regnew">请注册后查看!</a></span> <input type="hidden" value="{dede:field.aid/}" id="hid" /> <script language="javascript" type="text/javascript">CheckLogin_c();</script> |