  <table class="formtab">
 
      <td >
  发布时间：
       
      <input name="dateedit" type="text"  value="<?php echo $dateedit;?>" class="form-control" />
  <span class="cgray">参考：<?php echo date("Y-m-d H:i:s");?></span>
     
        </td>
    </tr>

 
    <tr>
      <td>禁止访问：
<?php 
 
//$disselect='';
if($user_stanoaccess=='y' && $usertype=='normal') {// $disselect='disabled="disabled"';//no use,will effect abc1
$sta_noaccess='y';
echo '<span class="cgray">您的权限 不能修改禁止访问。</span><br />';
}
 ?>
      <select name="sta_noaccess">
    <?php   
   
    select_from_arr($arr_yn,$sta_noaccess,'');?>
     </select>
     <?php
   if($sta_noaccess=='y') echo '<span style="color:red">禁止访问</span>';
   ?>
        </td>
    </tr>
     
 

     <tr>
     <td>      
      点击数： 
      <input name="hit" type="text"  value="<?php echo $hit?>" size="20" />
   
    </td>
    </tr>

     <tr>   <td>
      页面跳转网址： 
      <input name="alias_jump" type="text"    value="<?php echo $alias_jump?>" class="form-control form-controldi" />
 
       <?php echo $xz_maybe;?>
      <br /><?php echo $text_outlink;?> 


 <?php if($alias_jump<>'') { echo $text_jump;
      }?>
      

        </td>
    </tr>
    <tr>   <td  style="padding-top:20px;border-top: 2px solid #8fc3e9">
     产品的pidname（用于 共用相册）： <br />
      <input name="albumid" type="text"  value="<?php echo $albumid?>" class="form-control form-controldi" /> 
     <br /> <span style="color:#999">如果不是主语言，后面需要加 |langid</span>
   
         <?php 
        if($albumid<>''){
          $langv = " and lang='".ADMMAINLANG."' "; //default is from mainlang
          if(strpos($albumid,'|')){
                //like: node20150806_0929404264|cn  //因为多语言可能nodeid重复。所以用langid指定
                $arr = explode('|',$albumid);
                $langalbum = $arr[1];
                $albumid = $arr[0];
                $langv = " and lang='$langalbum' ";
              } 


          $sqllang2 = "SELECT id,lang,title from ".TABLE_NODE." where  pidname='$albumid' $langv  order by  id desc limit 1";
          // echo $sqllang2;
          if(getnum($sqllang2)>0) {
             $rowlang2 = getrow($sqllang2);
             //mod_node/mod_node_edit.php?lang=cn&tid=1181&file=editdesp
             $link_lang2 = 'mod_node_edit.php?lang='.$rowlang2['lang'].'&tid='.$rowlang2['id'].'&file=editdesp';
             echo '<br >文章：<a href="'.$link_lang2.'" target="_blank">'.$rowlang2['title'].'</a>';
             //pre($rowlang2);

          }else{
            echo '<br /><span class="cred">'.$albumid.'的文章不存在</span>';
          }

           
        }

     ?>
        </td>
    </tr>


 <tr>   <td  style="padding-top:20px;border-top: 2px solid #8fc3e9">
     关联en语言的产品pidname： <br />
      <input name="langrelid" type="text"  value="<?php echo $langrelid?>" class="form-control form-controldi" /> 
         <?php 
     // echo LANG;echo ADMMAINLANG;
        if(LANG == 'en') {
          echo '<p>当前语言是en，则留空</p>';
        }
      ?>
      

         <?php 
        if($langrelid<>'' && LANG<>'en'){
              //  $langv = " and lang='".ADMMAINLANG."' ";
                   $langv =" and lang='en' ";
                $sqllang2 = "SELECT id,lang,title from ".TABLE_NODE." where  pidname='$langrelid' $langv  order by  id desc limit 1";
                // echo $sqllang2;
                if(getnum($sqllang2)>0) {
                   $rowlang2 = getrow($sqllang2);
                   //mod_node/mod_node_edit.php?lang=cn&tid=1181&file=editdesp
                   $link_lang2 = 'mod_node_edit.php?lang='.$rowlang2['lang'].'&tid='.$rowlang2['id'].'&file=editdesp';
                   echo '<br >文章：<a href="'.$link_lang2.'" target="_blank">'.$rowlang2['title'].'</a>';
                   //pre($rowlang2);

                }else{
                  echo '<br /><span class="cred">'.$langrelid.'的文章不存在</span>';
                } 
    }
     ?>
        </td>
    </tr>


  <tr>   <td style="border-top: 2px solid #8fc3e9">
      标题样式： 
      <input name="titlestyle" type="text"  value="<?php echo $titlestyle?>" class="form-control form-controldi" />
 
       <?php echo $xz_maybe;?> 
      
<p class="cgray">试下： color:red (适用于分类文本列表效果文件)</p>
        </td>
    </tr>

 



  </table>

