Code:
>> START SETTINGS -------
$results = array(
'usergroups' => array(
),
'usergroups_view' => array(
'0' =>'6',
'1' =>'16',
'2' =>'30',
'3' =>'22',
'4' =>'3',
'5' =>'4',
'6' =>'27',
'7' =>'5',
'8' =>'7',
'9' =>'26',
'10' =>'28',
'11' =>'32',
'12' =>'33',
'13' =>'19',
'14' =>'29',
'15' =>'2',
'16' =>'21',
'17' =>'1',
),
'fieldtotoggle' =>'1',
'field_value_yes' =>'',
'max_width' =>'',
'max_height' =>'',
'server_path_to_banners' =>'/home/bing11/public_html/bbs/geek/gab/images',
'media_extensions' =>'',
'url_to_banners' =>'http://www.chineseunb.com/bbs/geek/gab/images/',
'url_advertising' =>'',
'url_turn_off_ads' =>'',
'redirectpage' =>'gab_redirect.php',
'cyclerate' =>'4300',
'persist_throttle' =>'',
'htmltemplates' =>'',
'defaulthtml' =>'',
'blocks' => array(
'1' => array(
'title' =>'Default',
'wrapper' =>'1',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'1',
),
),
),
),
'2' => array(
'title' =>'',
'wrapper' =>'0',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'1',
),
),
),
'3' => array(
'title' =>'good',
'wrapper' =>'0',
'method' =>'1',
),
),
'scripts' => array(
'MASTER' => array(
'name' =>'MASTER',
'description' =>'',
'usemaster' =>'0',
'blocks' => array(
'1' =>'1',
),
),
'forumdisplay' => array(
'name' =>'forumdisplay',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
'0' =>'1',
'1' =>'1',
'2' =>'1',
),
),
'showthread' => array(
'name' =>'showthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'index' => array(
'name' =>'index',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'editpost' => array(
'name' =>'editpost',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'newthread' => array(
'name' =>'newthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'calendar' => array(
'name' =>'calendar',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'online' => array(
'name' =>'online',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'printthread' => array(
'name' =>'printthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'profile' => array(
'name' =>'profile',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'search' => array(
'name' =>'search',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'usercp' => array(
'name' =>'usercp',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'adv_index' => array(
'name' =>'adv_index',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'THIS_SCRIPT' =>'',
),
'frequency' => array(
'0' => array(
'description' =>'Low',
'value' =>'1',
),
'1' => array(
'description' =>'Medium',
'value' =>'2',
),
'2' => array(
'description' =>'High',
'value' =>'3',
),
'3' => array(
'description' =>'Mega High',
'value' =>'4',
),
),
);>> END SETTINGS -------
Categories
>> START CATS -------
$results = array(
'1' => array(
'id' =>'1',
'title' =>'Header Banners',
'ordinal' =>'5',
),
'2' => array(
'id' =>'2',
'title' =>'Sky Scraper',
'ordinal' =>'20',
),
'3' => array(
'id' =>'3',
'title' =>'Footer Banners',
'ordinal' =>'10',
),
'4' => array(
'id' =>'4',
'title' =>'Other',
'ordinal' =>'30',
),
'5' => array(
'id' =>'5',
'title' =>'Unknown items',
'ordinal' =>'1',
),
);>> END CATS -------
>> START ADS -------
$results = array(
'1' => array(
'id' =>'1',
'title' =>'广告招租',
'startdate' =>'1143878400',
'enddate' =>'1185951600',
'img' =>'http://chineseunb.com/bbs/1/adrents.gif',
'hits' =>'5',
'views' =>'7',
'url' =>'http://chineseunb.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'60',
'width' =>'468',
'frequency' =>'2',
'type' =>'1',
'template' =>'0',
'catid' =>'1',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'2',
'forumoption' =>'2',
'scripts' =>'|forumdisplay|',
'forums' =>'|341|',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
);>> END ADS -------
Templates with $GAB_ads[x] in them:
Styleid 87 Title SHOWTHREAD contains $GAB_ads[1]
Styleid 87 Title FORUMDISPLAY contains $GAB_ads[1]
gab folder check
Warning: fopen(/home/bing11/public_html/bbs/geek/gab/images/thisisatest.htm): failed to open stream: Permission denied in /admincp/GAB_admin.php on line 1911
Warning: fputs(): supplied argument is not a valid stream resource in /admincp/GAB_admin.php on line 1912
Warning: fclose(): supplied argument is not a valid stream resource in /admincp/GAB_admin.php on line 1913
GAB directory is valid, but the server process can not write to it. Either give the apache process ownership to the folder or chmod it to 0777
vBulletin v3.5.4,版权所有 ©2000-2006,Jelsoft Enterprises Ltd.