免费欧洲美女牲交视频,欧洲女人牲交视频免费,黑人女人性较视频免费视频

<strike id="f7thz"><dl id="f7thz"><del id="f7thz"></del></dl></strike>
<strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<th id="f7thz"><dl id="f7thz"></dl></th>
<strike id="f7thz"></strike><strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<span id="f7thz"><i id="f7thz"><del id="f7thz"></del></i></span>
<span id="f7thz"></span>
<span id="f7thz"><dl id="f7thz"><ruby id="f7thz"></ruby></dl></span>
互聯網知識

精準傳達 ? 價值共享

洞悉互聯網前沿資訊,探尋網站營銷規律

查看其它板塊

網站欄目大圖 欄目小圖 英文名稱 手動添加的方法

作者:狐靈科技 | 2020-04-15 21:35 |點擊:


以下是網站欄目大圖 欄目小圖 英文名稱 手動添加的方法

1、添加2個文件到后臺目錄

  • /dede/catalog_up.php
  • /dede/js/catalog.js

文件下載

鏈接: https://pan.baidu.com/s/1fkzxldVho6JeFznNMWjLpQ 提取碼: yjqs

 

2、添加代碼

8.1、/dede/templets/catalog_add.htm 找到

onSubmit="return checkSubmit();"

改成

onSubmit="return checkSubmit();" enctype="multipart/form-data"

繼續找到

name="typename"

在它下面的</tr>另起一行插入代碼

 

  1. <script language='javascript' src='js/catalog.js'></script>
    <tr>
    <td class='bline' height="26" style="padding-left:10px;"> 英文名稱: </td>
    <td class='bline'>
    <input name="enname" id="enname" type="text" size="30" class="iptxt" />
    </td>
    </tr>
    <tr>
    <td height="24" colspan="5" class="bline">
    <table width="800" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="26" style="padding-left:10px;"> 欄目大圖: </td>
    <td width="482">
    <table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
    <td height="30">
    <input name="litpic" id="litpic" type="text" style="width:220px;opacity:1;margin-left:0;cursor:auto;" value="" />
    <input type="button"  value="本地上傳" style="width:70px;cursor:pointer;" />
    <iframe name='uplitpicfra' id='uplitpicfra' src='' width='200' height='200' style='display:none'></iframe>
    <span class="litpic_span"><input name="bigpic" type="file" id="bigpic"  onChange="SeePicNew(this, 'divpicview', 'uplitpicfra', 165, 'catalog_add.php','save','bigpic','litpic');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;" /></span>
    <input type="button" name="Submit2" value="站內選擇" style="margin-left:8px;" onClick="SelectImageN('form1.litpic','imgstick','picview');" class='np coolbg'/>
    <input type='checkbox' class='np' name='ddisremote' value='1'>遠程 
    </td>
    </tr>
    </table>
    </td>
    <td width="160" align="center">
    <div id='divpicview' class='divpre'><img height="50" src="images/pview.gif"></div>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="24" colspan="5" class="bline">
    <table width="800" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="26" style="padding-left:10px;"> 欄目小圖: </td>
    <td width="482">
    <table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
    <td height="30">
    <input name="litimg" id="litimg" type="text" style="width:220px" value="" />
    <input type="button"  value="本地上傳" style="width:70px;cursor:pointer;" />
    <iframe name='upsmallpicfra' id='upsmallpicfra' src='' width='200' height='200' style='display:none'></iframe>
    <span class="litpic_span"><input name="smallpic" type="file" id="smallpic"  onChange="SeePicNew(this, 'divsmallpicview', 'upsmallpicfra', 165, 'catalog_add.php', 'save', 'smallpic', 'litimg');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;"/></span>
    <input type="button" name="Submit2" value="站內選擇" style="margin-left:8px;" onClick="SelectImageN('form1.litimg','imgstick','smallpicview');" class='np coolbg'/>
    <input type='checkbox' class='np' name='ddisremote2' value='1'>遠程 
    </td>
    </tr>
    </table>
    </td>
    <td width="160" align="center">
    <div id='divsmallpicview' class='divpre'><img height="50" src="images/pview.gif"></div>
    </td>
    </tr>
    </table>
    </td>
    </tr>

 

/dede/templets/catalog_edit.htm 找到

onSubmit="return checkSubmit();"

改成

onSubmit="return checkSubmit();" enctype="multipart/form-data"

繼續找到

name="typename"

在它下面的</tr>另起一行插入代碼

 

  1. <script language='javascript' src='js/catalog.js'></script>
    <tr>
    <td class='bline' height="26" style="padding-left:10px;"> 英文名稱: </td>
    <td class='bline'>
    <input name="enname" id="enname" type="text" size="30" class="iptxt" value="<?php echo $myrow['enname']?>" />
    </td>
    </tr>
    <tr>
    <td height="24" colspan="5" class="bline">
    <table width="800" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="26" style="padding-left:10px;"> 欄目大圖: </td>
    <td width="482">
    <table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
    <td height="30">
    <input name="litpic" id="litpic" type="text" style="width:220px;opacity:1;margin-left:0;cursor:auto;" value="<?php echo $myrow['litpic']?>" />
    <input type="button"  value="本地上傳" style="width:70px;cursor:pointer;" />
    <iframe name='uplitpicfra' id='uplitpicfra' src='' width='200' height='200' style='display:none'></iframe>
    <span class="litpic_span"><input name="bigpic" type="file" id="bigpic"  onChange="SeePicNew(this, 'divpicview', 'uplitpicfra', 165, 'catalog_edit.php','save','bigpic','litpic');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;" /></span>
    <input type="button" name="Submit2" value="站內選擇" style="margin-left:8px;" onClick="SelectImageN('form1.litpic','imgstick','picview');" class='np coolbg'/>
    <input type='checkbox' class='np' name='ddisremote' value='1'>遠程 
    </td>
    </tr>
    </table>
    </td>
    <td width="160" align="center">
    <div id='divpicview' class='divpre'><img height="50" src="<?php if($myrow['litpic']!="") echo $myrow['litpic']; else echo "images/pview.gif";?>"></div>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="24" colspan="5" class="bline">
    <table width="800" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="26" style="padding-left:10px;"> 欄目小圖: </td>
    <td width="482">
    <table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
    <td height="30">
    <input name="litimg" id="litimg" type="text" style="width:220px" value="<?php echo $myrow['litimg']?>" />
    <input type="button"  value="本地上傳" style="width:70px;cursor:pointer;" />
    <iframe name='upsmallpicfra' id='upsmallpicfra' src='' width='200' height='200' style='display:none'></iframe>
    <span class="litpic_span"><input name="smallpic" type="file" id="smallpic"  onChange="SeePicNew(this, 'divsmallpicview', 'upsmallpicfra', 165, 'catalog_edit.php', 'save', 'smallpic', 'litimg');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;"/></span>
    <input type="button" name="Submit2" value="站內選擇" style="margin-left:8px;" onClick="SelectImageN('form1.litimg','imgstick','smallpicview');" class='np coolbg'/>
    <input type='checkbox' class='np' name='ddisremote2' value='1'>遠程 
    </td>
    </tr>
    </table>
    </td>
    <td width="160" align="center">
    <div id='divsmallpicview' class='divpre'><img height="50" src="<?php if($myrow['litimg']!="") echo $myrow['litimg']; else echo "images/pview.gif";?>"></div>
    </td>
    </tr>
    </table>
    </td>
    </tr>


/dede/catalog_add.php 找到 大概在239行

UpDateCatCache();

在它上面加入
 

  1. //添加英文名稱欄目大圖欄目小圖
    require_once(DEDEADMIN.'/inc/inc_archives_functions.php');
    if(!empty($ddisremote))
    {
    $litpic = UploadOneImage('imgfile', $litpic, $ddisremote, 1);
    }
    if(!empty($ddisremote2))
    {
    $litimg = UploadOneImage('imgfile', $litimg, $ddisremote2, 1);
    }
    $id = $dsql->GetLastID();
    $upquery = "UPDATE `#@__arctype` SET `enname`='$enname',`litpic`='$litpic',`litimg`='$litimg' WHERE id='$id' ";
    $dsql->ExecuteNoneQuery($upquery);
    //添加英文名稱欄目大圖欄目小圖

/dede/catalog_edit.php 找到 大概在106行

UpDateCatCache();

在它上面加入

  1. //添加英文名稱欄目大圖欄目小圖
    require_once(DEDEADMIN.'/inc/inc_archives_functions.php');
    if(!empty($ddisremote))
    {
    $litpic = UploadOneImage('imgfile', $litpic, $ddisremote, 1);
    }
    if(!empty($ddisremote2))
    {
    $litimg = UploadOneImage('imgfile', $litimg, $ddisremote2, 1);
    }
    $upquery = "UPDATE `#@__arctype` SET `enname`='$enname',`litpic`='$litpic',`litimg`='$litimg' WHERE id='$id' ";
    $dsql->ExecuteNoneQuery($upquery);
    //添加英文名稱欄目大圖欄目小圖


標簽庫輸出修改

/include/taglib/channel.lib.php 找到

id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath

有4處這樣的多個字段,4處都改成

*

/include/taglib/channelartlist.lib.php 找到

id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath

這樣的多個字段,改成

*

 

/include/taglib/type.lib.php 找到

id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath

這樣的多個字段,改成

*

 

這樣就完成了網站欄目大圖 欄目小圖 英文名稱 手動添加的方法


如沒特殊注明,文章均為狐靈科技原創,轉載請注明??http://www.myredapron.com/hulianwang/1193.html
多一份免費策劃方案,總有益處。

請直接添加技術總監微信聯系咨詢

網站設計 品牌營銷

多一份參考,總有益處

聯系狐靈科技,免費獲得專屬《策劃方案》及報價

咨詢相關問題或預約面談,可以通過以下方式與我們聯系

業務熱線:023-68168040 / 大客戶專線:15523356218

免费欧洲美女牲交视频,欧洲女人牲交视频免费,黑人女人性较视频免费视频
<strike id="f7thz"><dl id="f7thz"><del id="f7thz"></del></dl></strike>
<strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<th id="f7thz"><dl id="f7thz"></dl></th>
<strike id="f7thz"></strike><strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<span id="f7thz"><i id="f7thz"><del id="f7thz"></del></i></span>
<span id="f7thz"></span>
<span id="f7thz"><dl id="f7thz"><ruby id="f7thz"></ruby></dl></span>