1. phpcms v9中的page分面函數怎麼理解呀
使用過Phpcms V9的朋友,肯定知道PC V9默認的Page頁面是只有一篇內容的,但是一旦添加了子欄目,那麼父級Page欄目就會不能添加內容,這樣就會出現問題:當訪問父級欄目的時候,默認不會轉到最新page或者某一個子欄目頁面,這樣會發現沒有內容。於是需要自定義Phpcms V9列表頁調用欄目第一篇文章內容,在此分享另外一種方法做到父單頁欄目添加內容方法,這是PC V9鮮為人知的Page模型自定義的方法。
具體修改模型conten文件phpcms\moles\content\content.php,方法是修改init方法
第一步:通過init我找到了public_categorys函數 直接定位到約514行。
就是下面這段代碼:
$strs="<span class='\$icon_type'>\$add_icon<a href='?m=content&c=content&a=\$type&menuid=".$_GET['menuid']."&catid=\$catid' target='right' onclick='open_list(this)'>\$catname</a></span>";
$strs2 = "<span class='folder'>\$catname</span>";
將其中的
$strs2 = "<span class='folder'>\$catname</span>";
替換為:
$strs2= "<span class='folder'>\$add_icon<a href='?m=content&c=content&a=\$type&menuid=".$_GET['menuid']."&catid=\$catid' target='right' onclick='open_list(this)'>\$catname</a></span>";
修改後保存。這樣讓page能夠修改這些欄目以及裡面的內容,之後進行更新緩存、url更新,以及內容頁更新等操作。
第二步:修改create_html.php,之後更新
修改content.php同文件夾下的create_html.php,找到178行
將
//$r['disabled'] = $r['child'] ? 'disabled' : '';
這一行去掉。
然後進後台更新緩存,可以編輯單頁page父欄目了。
加密什麼加密字元串嗎,我這里有md5的演算法
public final static String MD5(String pwd) {
char hexDigits[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
'A', 'B', 'C', 'D', 'E', 'F' };
try {
byte[] strTemp = pwd.getBytes();
MessageDigest mdTemp = MessageDigest.getInstance("MD5");
mdTemp.update(strTemp);
byte[] md = mdTemp.digest();
int j = md.length;
char str[] = new char[j * 2];
int k = 0;
for (int i = 0; i < j; i++) {
byte byte0 = md[i];
str[k++] = hexDigits[byte0 >>> 4 & 0xf];
str[k++] = hexDigits[byte0 & 0xf];
}
return new String(str);
} catch (Exception e) {
return null;
}
}
3. 這個源碼公式有「未來函數」嗎
你可以自己來查證是否有未來函數。方法是先將公式文本文件用windows的記事本或者WORD打開,然後將以下的函數名稱,逐個查找,如果都查找不到,就可以肯定沒有用未來函數。
未來函數 ZIG PEAK PEAKBARS TROUGH TROUGHBARS FLATZIG
FLATZIGA PEAKA PEAKBARSA TROUGHA ZIGA
准未來函數 FFT BACKSET WINNER LWINNER
以上解釋,相信你自己也能夠做到的。自己動手,豐衣足食。
4. 我的網站:最優網,用的是phpcms v9源碼,首頁調用版塊的數量默認為5,怎麼修改為更多,在哪個文件修改
其他程序我不是很清楚,比如齊博CMS等其他PHP程序,哪個程序更方便調用呢?目前我主機上安的就是V9。。。希望高手能幫我一下解決文章列表調用問題,萬分感謝。。
5. phpcmsv9轉pbootcms
轉不了
PbootCMS是全新內核且永久開源免費的PHP企業網站開發建設管理系統,是一套高效、簡潔、強悍的可免費商用的PHPCMS源碼,能夠滿足各類企業網站開發建設的需要。
系統採用簡單到想哭的模板標簽,只要懂HTML就可快速開發企業網站。官方提供了大量網站模板免費下載和使用,將致力於為廣大開發者和企業提供最佳的網站開發建設解決方案。
1、系統採用高效、簡潔、強悍的模板標簽,只要懂HTML就可快速開發企業網站;
2、系統採用PHP語言開發,使用自主研發的高速多層開發框架及緩存技術;
3、系統默認採用sqlite輕型資料庫,放入PHP空間即可直接使用,可選mysql.pgsql等資料庫,滿足各類存儲需求;
4、系統採用響應式管理後台,滿足各類設備隨時管理的需要;
5、系統支持後台在線升級,滿足系統及時升級更新的需要;
6、系統支持內容模型、多語言、自定義表單、篩選、多條件搜索、小程序、APP等功能;
7、系統支持多種URL模式及模型、欄目、內容自定義地址名稱,滿足各類網站推廣優化的需要;授權聲明:PbootCMS是免費可商用的建站系統,用戶通過官網獲取免費域名授權碼即算授權成功,並永久有效,授權後允許刪除前後台頁面版權標識。
6. 搜貓搜索引擎 V8.5 V9.0 的源碼,誰有,求好心人送我一套!求求各位了,草包站長用來建站的,拜託了各位了
雖然沒有,先板凳下
7. 求帕丁頓熊2英文中字。免費的,什麼要收費的,或者給了請求打賞的就請不要來了。
密碼:t7v9好了給你了
8. 這個網址的源碼是什麼
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>韓雪冬_BLOG :::web design:::-::: kaven 個人 flash 網站設計 ::: 網站建設 ::: 網頁設計</title>
<META name="Author" content="ExoBUD, Jin_woong Eu,辣辣箭">
<META name="Keywords" content="ExoBUD™ MP,網頁播放器">
<META name="Description" content="INetCasting(asf,wma,mp3,avi,wav),韓雪冬個人網站">
<LINK rel="stylesheet" href="exobud.css" type="text/css">
<style type="text/css">
<!--
.time {behavior: url(#default#time2);}
body {
background-color: #000000;
}
-->
</style>
</head>
<!--
//***************************************************************************************
// 版權所有。
// 請尊重智慧財產權: 無論您對本程序 ExoBUD MP(II) 作任何修改、製作(或翻譯)面板,請您
// *必須*保留此段版權信息的內容,包括程序(及面板)原作者及中文漢化作者的名字和網站鏈接。
//
// 請不要將程序(或面板)原作者或中文漢化作者的名字改成您自己的名字,
// 然後以另一程式名稱重新命名後在網上公開發表及散播本程式,因為這是嚴重的侵權行為。
//
// 這是免費程序,所以請不要使用在商業用途上。
// 另外,您也不可將本程序(全部或部份)復制到其他儲存媒體(例如光碟)上作販賣獲利用途。
//
// 申明:因為使用本程序對你造成任何後果,程序原作者及中文漢化作者均不用對其負責。
//
//---------------------------------------版權信息---------------------------------------
// ExoBUD? MP(II) v5.8 Rhapsody.?-Skined [wmp-obj v7.1/v9]
// (C)Copyright 1998-2006 ExoBUD? All Right Reserved.
// Homepage : http://cyworld.com/exobud , http://exobud.nayana.com
// E-Mail : [email protected]
// ICQ : 96138429 (authorization mode)
//-------------------------------------------------------------------------------------
// Graphic Design (by Rhapsody.?)
// (C)Copyright Rhapsody.? All Right Reserved.
// msn : [email protected]
// Homepage : http://www.intorock.com
//-------------------------------------------------------------------------------------
// 簡體中文漢化: 辣辣箭
// 網站: http://www.cuiz.net
// 電子郵箱: [email protected]
// OICQ號碼: 79342254
// 發表日期: 2006-11-11
//***************************************************************************************-->
<SCRIPT Language ="JavaScript" src="sys/viewobj.js"></SCRIPT><!-- 載入Windows Media Player控制項程序 -->
<SCRIPT Language="JavaScript" src="sys/exobud.js"></SCRIPT><!-- 載入 ExoBUD MP(II) 主程序 -->
<SCRIPT Language="JavaScript" src="config.js"></SCRIPT><!-- 載入 config.js 基本設置程序 -->
<SCRIPT Language ="JScript" src="sys/imgchg.js"></SCRIPT><!-- 載入「動態按鈕圖片切換」程序文件 -->
<SCRIPT Language="JavaScript" src="addlist.js"></SCRIPT><!-- 載入 ExoBUD MP(II) 播放歌曲列表設定文件 -->
<SCRIPT Language ="JScript" FOR=Exobud EVENT=openStateChange(sf)> evtOSChg(sf); </SCRIPT>
<SCRIPT Language ="JScript" FOR=Exobud EVENT=playStateChange(ns)> evtPSChg(ns); </SCRIPT>
<SCRIPT Language ="JScript" FOR=Exobud EVENT=error()> evtWmpError(); </SCRIPT>
<SCRIPT Language ="JScript" FOR=Exobud EVENT=Buffering(bf)> evtWmpBuff(bf); </SCRIPT>
<body onLoad="initExobud();" onContextMenu="return false" onDragStart="return false" onselectstart="return false" style="overflow:hidden;" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0><span align="center" id="loadingBar" style="width:100%;position:absolute; left:0px; top:2px; z-index:1;"><p align="center"><img src="img/loading.gif" align="middle" border="0"></p></span>
<table id="Table_01" width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="img/plastic-ii_01.gif" width="2" height="23" alt=""></td>
<td>
<img name="iexobud" src="img/btn_exobud_ovr.gif" width="154" height="23" onClick="vizExobud()" style="cursor:hand;" title="首頁"></td>
<td>
<img name="prevt" src="img/btn_prev.gif" width="19" height="23" onClick="playPrev();this.blur();" onMouseOver="imgtog('prevt',2);" onMouseOut="imgtog('prevt',3)" style="cursor:hand;" title="上一首"></td>
<td>
<img name="playt" src="img/btn_play.gif" width="19" height="23" onClick="startExobud();this.blur();" style="cursor:hand;" title="播放"></td>
<td>
<img name="pauzt" src="img/btn_pauz_off.gif" width="19" height="23" onClick="wmpPP();this.blur();" style="cursor:hand;" title="暫停/繼續"></td>
<td>
<img name="stopt"src="img/btn_stop.gif" width="19" height="23" onClick="wmpStop();this.blur();" onMouseOver="imgtog('stopt',2);" onMouseOut="imgtog('stopt',3)" style="cursor:hand;" title="停止"></td>
<td>
<img name="nextt" src="img/btn_next.gif" width="19" height="23" onClick="playNext();this.blur();" onMouseOver="imgtog('nextt',2);" onMouseOut="imgtog('nextt',3)" style="cursor:hand;" title="下一首"></td>
<td>
<img src="img/plastic-ii_08.gif" width="37" height="23" alt=""></td>
<td width="80" background="img/plastic-ii_09.gif" align="center" onClick="chgTimeFmt();this.blur();" nowrap><span id="disp2" width=168 class="time" align="right" title ="正常/倒序" style="position:relative;top=0;cursor:hand;left:-2px; top:-0px;">00:00 | 00:00</span> </td>
<td>
<img src="img/plastic-ii_10.gif" width="8" height="23" alt=""></td>
<td width="60%" background="img/plastic-ii_11.gif" align="left" valign="top" nowrap><marquee behavior="scroll" width="99%" scrolldelay=30 scrollamount=1 truespeed><span id="disp1" class="title" style="width:0px; height:0px; position:relative; cursor:default; left:0; top:5px; z-index:1;">welcome to http://www.kaven115.com</span>
</marquee> </td>
<td>
<img src="img/plastic-ii_12.gif" width="38" height="23" alt=""></td>
<td>
<img name="plist" src="img/btn_plist.gif" width="18" height="23" onClick="openPlist();this.blur();" onMouseOver="imgtog('plist',2);" onMouseOut="imgtog('plist',3)" style="cursor:hand;" title="歌曲清單"></td>
<td>
<img name="pmode" src="img/btn_rndmode_off.gif" width="19" height="23" onClick="chgPMode();this.blur();" style="cursor:hand;" title="播放順序"></td>
<td>
<img name="tloop" src="img/btn_trkloop_off.gif" width="19" height="23" onClick="chgTrkLoop();this.blur();" style="cursor:hand;" title="切換是否循環播放所選歌曲"></td>
<td>
<img name="vmute" src="img/btn_mute_off.gif" width="19" height="23" onClick="wmpMute();this.blur();" style="cursor:hand;" title="靜音"></td>
<td>
<img name="rept" src="img/btn_rept_off.gif" width="19" height="23" onClick="chkRept();this.blur();" style="cursor:hand;" title="切換是否重復播放當前歌曲"></td>
<td>
<img src="img/plastic-ii_18.gif" width="86" height="23" alt=""></td>
<td width=72><iframe name="音量"src="add_vol/exobud_vol.html" height="23" width="72" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" title="音量- +"></iframe></td>
<td>
<img src="img/plastic-ii_20.gif" width="3" height="23" alt=""></td>
<td>
<img src="img/plastic-ii_21.gif" width="3" height="23" alt=""></td>
<TD><IMG name="rwdt" src="img/btn_rwd.gif" width=21 height=35 border=0 onMouseDown="fastRew();imgChange('rwdt',1);" onMouseUp="endRew();imgChange('rwdt',0);" onMouseOver="imgChange('rwdt',2);" onMouseOut="imgChange('rwdt',0);" title="FastReward" style="display:none;cursor:hand;"></TD>
<TD><IMG name="fwdt" src="img/btn_fwd.gif" width=21 height=35 border=0 onMouseDown="fastFwd();imgChange('fwdt',1);" onMouseUp="endFwd();imgChange('fwdt',0);" onMouseOver="imgChange('fwdt',2);" onMouseOut="imgChange('fwdt',0);" title="FastForward" style="display:none;cursor:hand;"></TD>
</tr>
</table>
<TABLE width=100% height=0 border="0" cellspacing="0" cellpadding="0">
<TR>
<TD height=0>
<SCRIPT Language="JavaScript" src="sys/caption.js"></SCRIPT>
</TD>
</TR>
</TABLE>
</div>
<script language="javascript">
document.all.loadingBar.style.display="none";
document.all.divBody.style.display="";
</script>
</body>
</html>
MP3地址:http://www.zhenruifang.com/blog/music/Mad%20world.mp3
9. MySQL Error : Table 'szbulo.v9_' doesn't exist MySQL Errno : 1146 這個問題如何解決
這個表被損壞了 一般一個完整的表由 *.frm 、*.MYD、*.MYI組成。出現這種提示是因為三個基本文件數據表被損壞了,需要自己重新建表。
10. php的cms系統哪個好點功能多點要開放源碼的!
米拓啊,米拓的metinfo企業網站管理系統很好
我自己也在用,強烈推薦