sql_fetchrow($db->sql_query("SELECT title, admins FROM ".$prefix."_modules WHERE title='Classifieds'")); $row2 = $db->sql_fetchrow($db->sql_query("SELECT name, radminsuper FROM ".$prefix."_authors WHERE aid='$aid'")); $admins = explode(",", $row['admins']); $auth_user = 0; for ($i=0; $i < sizeof($admins); $i++) { if ($row2['name'] == "$admins[$i]" AND $row['admins'] != "") { $auth_user = 1; } } if ($row2['radminsuper'] == 1 || $auth_user == 1) { $NukeCAddonName = "Classifieds"; @include("modules/".$NukeCAddonName."/functions.php"); @include("modules/".$NukeCAddonName."/language/lang-".$currentlang.".php"); function NukeCDoc(){ /* Start Function NukeCSetting */ global $prefix,$db; global $NukeCAddonName, $ModuleTitle, $AdsTitleLength, $AdsContentLength, $Waiting, $PerPage, $UseImgCatg, $PostInMainCatg, $MemberRequired, $AdsComment, $PopAds, $UploadImg, $MaxImgSize, $MaxImgHeight, $MaxImgWidth, $ThumbToHeight, $ThumbToWidth, $ThumbHeight, $ThumbWidth, $UploadPath, $CatgPath, $MaxAllowedAds, $adsbgcolor1, $adsbgcolor2, $adsbgcolor3, $adsbgcolor4, $adsbgcolor5; $admintitle = _NUKECADMINTITLE." - "._NUKECSETTING; @include("header.php"); GraphicAdmin(); OpenTable(); NukeCAdminMenu(); echo "
"; echo "
"; echo ""; echo ""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "\n" ."\n" ."\n" .""; echo "
NukeC Setting Preferences Short Documentation
NukeC Module Folder NameNukeC Module Folder Name, default is Classifieds. If you change(customize) its folder name ,you have to change it into the customize folder name
NukeC Module Page TitleWeb page title to be shown when visitor accessing NukeC module
Maximal ads allowedTotal of allowed ads for users/members to their active or expired ads. User/members also limited by this number setting to save ads into their AdsBox (E.g : At setting Max allowed ads = 10 then Joe only allowed have 6 active ads and 4 expired ads. And only allowed to save 10 ads into his AdsBox)
Ads Title Max CharsMaximal characters allowed for users/members to write their ads Title, error will prompted for users if they input more than allowed characters
Ads Content Max CharsMaximal characters allowed for users/members to write their ads content, error will prompted for users if they input more than allowed characters
Status Submitted AdsYou could set Automatically Posted or Pending for process for submitted ads. Automatically Posted, submitted ads automatically can be viewed by site visitors. Pending for process, submitted ads will stored into ads Waiting box at admin side that will be reviewed/edited by site adminstrator
Ads Views PerpageFor set how many Ads will be viewed in one page.
Use Image CategoryIf this state's status is Yes, then system will automatically load category images, If not, category will be text only.
Post in main categoryUsers will able to post their ads into Main/Parent category if this state set to Allowed, If not, users only able to post under child categories
Member RequiredIf Member Required set to Yes, then only members allowed to post ads and ads comments. If set to No, then anonymous will able to post ads or ads comments
Ads CommentsAds comments, Features for users to post comments on ads.If set to Allowed, Ads comment feature will be activated, if set it denied, Ads comments feature won't viewed to users
Ads in popular pageTotal number of most popular ads will be viewed at Popular Ads Page
Upload Image AdsIf this setting set to Yes, users or members will able to upload their product image for their ads. The uploaded image will be stored at Upload Path
Max image ads sizeMaximal file size of users' upload image
Max image widthMaximal pixel of width dimention allowed for users' uploaded image
Max image heightMaximal pixel of height dimention allowed for users' uploaded image
Thumbnail to Thumbnail to will resize user uploaded image to be viewed at site. You could set to Height or to Width (E.g : Assume Thumbnail to Height, and Thumbnail height size is 100. If user upload a image 200w x 250h, the image will resized to height 100 and width with calculated value). Original image size will be showed when users view ads details
Thumbnail height sizeMaximal pixel of height dimention allowed for users' uploaded image
Thumbnail width sizeMaximal pixel of height dimention allowed for users' uploaded image
Ads Image upload pathThe Full path of your ads images location. This location is the destination of uploaded image also e.g : /var/html/location/of/to/upload/image/ads
Ads Image pathThe path of your ads images location. e.g. : modules/[folder_name]/imageads
Ads Category Image Upload pathThe Full path of your ads category images location. This location is your location in uploading ads category image at admin section e.g : /var/html/location/of/to/upload/category/ads
Ads Category Image pathThe path of your ads category images location. e.g : modules/[folder_name]/imagecatg
"; echo "
"; CloseTable(); @include("footer.php"); }/* END Function NukeCSetting */ switch($op) { case "ClassifiedsDoc": NukeCDoc();break; } } else { echo "Access Denied"; } ?>