(1)單網(wǎng)頁: {loop $arrchild_arr $cid}!--只適應(yīng)用單網(wǎng)頁-- li {if $catid==$cid}class=cur_link{/if}a href={$CATEGORYS[$cid][url]}/{$CATEGORYS[$cid][catname]}/a/li {/loop} (2)模型列表頁: {pc:content action=category catid=$pare
使用Laravel進(jìn)行數(shù)據(jù)庫遷移文件開發(fā),有些字段我們需要建立索引, $table-strin...
phpcms 的/phpcms/modules/content/down.php文件中,對輸入?yún)?shù)$_GET[a_k]未進(jìn)...
稍微改一下phpcms/libs/functions/global.func.php文件中的thumb函數(shù)。 第一步...
function loads() { var shuz = []; shuz = document.getElementById(shuz).val...
templates 框架系統(tǒng)模板目錄 announce 公告 show.html 內(nèi)容頁 comment 評論 sho...
方法一,摘自discuz /* * * * 根據(jù)php的$_SERVER[HTTP_USER_AGENT] 中各種瀏覽...
在Laravel中開發(fā)API接口,經(jīng)常會遇到API跨域請求的問題,我們可以使用fruitcake...
下面是總結(jié)的幾個(gè)使用方法 include PHPExcel.php; include PHPExcel/Writer/Exc...