
<li class="mainline"><a href="../mod_certificate/mod_cert.php?lang=<?php echo LANG?>"><i class="fa fa-cubes" aria-hidden="true"></i> <span>认证管理</span></a></li>

--------

[DMblockid]jthome_certificate/certificate[/DMblockid]


==================

 config-lang.php:
   //---------publish text---
 'trline6'=>'发布信息',
 'PUBLISH_AUTHOR'=>'作者：',
 'PUBLISH_FROM'=>'来源：',
 'PUBLISH_DATE'=>'发布日期：',
 'PUBLISH_HIT'=>'阅读数：', 

    //---------publish text---
 'trline7'=>'认证',
 'CERT_BH'=>'认证编号：',
 'CERT_SHANG'=>'申请商：',
 'CERT_ADDRESS'=>'申请商地址：',
 'CERT_NAME'=>'产品名称：', 
 'CERT_XH'=>'产品型号：',  
 'CERT_STANDARD'=>'检测标准：', 
 'CERT_DATE'=>'认证日期：',  
   //---------publish text---
 'trline8'=>'认证页面的文字',
 'CERT_TEXT_TITLE'=>'证书查询：',
  'CERT_TEXT_NUMBER'=>'认证编号：',
 'CERT_TEXT_SUBMIT'=>'立即查询：',
 'CERT_TEXT_RESULT'=>'查询结果：',
 'CERT_TEXT_NORES'=>'对不起，没有找到认证编号。', 
 'CERT_TEXT_REPEAT'=>'对不起，请不要过多的反复查询。',  

);



===================

dmpostform.php

 $full = @htmlentitdm2($_GET['full']);
 $type = @htmlentitdm2($_GET['type']);
 $ajaxpidname = @htmlentitdm2($_GET['pidname']);
 $mb = @htmlentitdm2($_GET['mb']);
 $site = @htmlentitdm2($_GET['site']);
$headerpc = @htmlentitdm2($_GET['headerpc']);
 
if (!in_array($type, $typeformarr)) {echo 'sorry,type error';exit;}


if($type=='jthome') $file = $ajaxpidname; //use for ajax to include jthome file.
else $file='file_formpost/formpost_'.$type;//it need here
 
=================
load.php


if(substr($file,0,7)=='jthome_') {
       $filev = JTHOMEROOT.$file.'.php';
         if(is_file($filev)) require  $filev;
         else echo $file.'.php  - file not exist;';

}else{

   if(is_int(strpos($file,'/'))) {   
   
      $filev = INCLUDE_ROOT.$file.'.php';
         if(is_file($filev)) require  $filev;
         else echo $file.'.php  - file not exist;';
  }
}

================

