update.php file from your server before using LinkMan'); } /* Start user session or output an error */ session_name('LINKMAN'); if (!session_start()) { error('Cannot start a new PHP session. Please contact server administrator or webmaster!'); } /* If no action parameter is set let's force visitor to login */ if (empty($_REQUEST['action'])) { if (isset($_SESSION['logged']) && $_SESSION['logged'] == 'Y') { pj_session_regenerate_id(); mainpage(); } else { login(); } } else { $action=htmlspecialchars($_REQUEST['action']); } /* Do the action that is set in $action variable */ switch ($action) { case 'login': checkpassword(); $_SESSION['logged']='Y'; pj_session_regenerate_id(); header('Location: index.php'); exit(); case 'saveset': checklogin(); savesettings(); break; case 'settings': checklogin(); settings(); break; case 'check': checklogin(); checklinks(); break; case 'remove': checklogin(); removelink(); break; case 'edit': checklogin(); editlink(); break; case 'savelink': checklogin(); savelink(); break; case 'add': checklogin(); addlink(); break; case 'logout': logout(); break; case 'uppr': checklogin(); update_pr(); break; case 'banned': checklogin(); banned_manage(); break; case 'banned_save': checklogin(); banned_save(); break; default: login(); } exit(); function banned_save() { global $settings; $banned = pj_input($_POST['banned']); $fp = @fopen($settings['banfile'],'w') or problem('Can\'t open file '.$settings['banfile'].' for writing, on Linux CHMOD it to 666 (rw-rw-rw-)!'); flock($fp, LOCK_EX); fputs($fp,$banned); flock($fp, LOCK_UN); fclose($fp); done('Your banned websites list has been updated successfully.'); } // End banned_save() function banned_manage() { global $settings; printHeader(); ?>

Main page | LOGOUT


Banned websites

Here is a list of websites banned from your link exchange. Banned websites can be listed one per line, separated with a space, comma or some other character.

 

Cancel / Go back

 

Main page | LOGOUT


Configure LinkMan
(script version: )

All fields are required. You will find more information about these settings in the LinkMan Readme file.

Checking file status  
Exists, Writable'; } else { $file_error_present = 1; echo 'Exists, Not writable
Please make sure PHP scripts can write to the '.$settings['linkfile'].' file. On Linux servers CHMOD this file to 666 (rw-rw-rw-). You will not be able to accept links until this issue is resolved.'; } } else { $file_error_present = 1; echo 'Missing, Not writable
Please make sure file '.$settings['linkfile'].' is located in your LinkMan folder and that PHP scripts can write to this file. On Linux servers CHMOD it to 666 (rw-rw-rw-). You will not be able to accept links until this issue is resolved.'; } ?>
settings.php Exists, Writable'; } else { $file_error_present = 1; echo 'Exists, Not writable
Please make sure PHP scripts can write to the settings.php file. On Linux servers CHMOD this file to 666 (rw-rw-rw-). You will not be able to save settings until this issue is resolved.'; } ?>
Exists, Writable'; } else { $file_error_present = 1; echo 'Exists, Not writable
Please make sure PHP scripts can write to the '.$settings['banfile'].' file. On Linux servers CHMOD this file to 666 (rw-rw-rw-). You will not be able to ban websites from your link exchange until this issue is resolved.'; } } else { $file_error_present = 1; echo 'Missing, Not writable
Please make sure file '.$settings['banfile'].' is located in your LinkMan folder and that PHP scripts can write to this file. On Linux servers CHMOD it to 666 (rw-rw-rw-). You will not be able to ban websites from your link exchange until this issue is resolved.'; } if ($file_error_present) { echo '

Test files again'; } ?>
   
Available settings  
Admin password:
Website URL:
Website title:
Website description:
Show "Add a link form":
Notify me of new links:
Admin e-mail address:
Maximum links:
Use Security image:
Enable SPAM filter:
Block superlatives:
Normal links or redirects:

Add rel="nofollow" to links:

Add new links to:
File with link data:
File with banned websites:
Show URL after title:
Show Google PageRankTM:

Minimum PR to accept website:
Minimum reciprocal URL PR:
Block links with rel="nofollow":
Block noindex, nofollow pages:
Block duplicate links:
Show thumbshots:

Thumbshots service URL:
Hide these sections on load:




Debug mode:

>

 

Cancel / Go back

 

Updating Google PageRank... '; foreach($lines as $thisline) { list($name,$email,$title,$url,$recurl,$description,$featured,$old_pr)=explode($settings['delimiter'],$thisline); $description = trim($description); $featured = empty($featured) ? 0 : 1; $old_pr = trim($old_pr); $old_pr = empty($old_pr) ? 0 : $old_pr; $new_pr = getpr($url); $new_pr = empty($new_pr) ? 0 : $new_pr; if ($new_pr != $old_pr) { $rewrite = 1; $j = $i-1; $lines[$j] = "$name$settings[delimiter]$email$settings[delimiter]$title$settings[delimiter]$url$settings[delimiter]$recurl$settings[delimiter]$description$settings[delimiter]$featured$settings[delimiter]$new_pr\n"; } echo '

Updating link N. '.$i.'...
'; echo '-> Link URL: '.$url.'
'; echo '-> Old PageRank: '.$old_pr.'/10
'; echo '-> New PageRank: '.$new_pr.'/10
'; $i++; flush(); } if ($rewrite == 1) { $lines = implode('',$lines); $fp = fopen($settings['linkfile'],'w') or problem('Couldn\'t open links file for writing! Please CHMOD all txt files to 666 (rw-rw-rw)!'); flock($fp, LOCK_EX); fputs($fp,$lines); flock($fp, LOCK_UN); fclose($fp); echo '

UPDATING LINKINFO FILE

'; } else { echo '

NOTHING TO UPDATE

'; } echo '

 

DONE!

Back to main page

'; exit(); } // END update_pr() function checklinks() { global $settings; $lines = file($settings['linkfile']); $site_url = strtolower($settings['site_url']); ini_set('user_agent', 'LinkMan '.$settings['verzija'].' by http://www.phpjunkyard.com'); $i = 1; $rewrite = 0; $found = 0; echo ' Checking reciprocal links... '; foreach($lines as $thisline) { list($name,$email,$title,$url,$recurl,$description,$featured,$pr)=explode($settings['delimiter'],$thisline); echo '

Checking link N. '.$i.'...
'; echo '-> Link URL: '.$url.'
'; if ($recurl == 'http://nolink') { echo 'No reciprocal link required!

'; echo '- - - - - - - - - - - - - - - - - - - - - - - - - - - -

'; $i++; flush(); continue; } else { echo '-> Reciprocal URL: '.$recurl.'
'; } echo '-> Opening and reading reciprocal URL '; $html = @file_get_contents($recurl) or $html='NO'; if ($html == 'NO') { if (empty($_POST['docantopen'])) { echo '
CAN\'T OPEN RECIPROCAL URL!

Owner (click on name for e-mail): '.$name.'
'; } else { echo '
CAN\'T OPEN RECIPROCAL URL!

Removing link ...
'; unset($lines[$i-1]); $rewrite=1; } } else { $html=strtolower($html); if (preg_match_all('/]*href=([\"\']??)([^" >]*?)\\1([^>]*)>/siU', $html, $matches, PREG_SET_ORDER)) { foreach($matches as $match) { if ($match[2] == $settings['site_url'] || $match[2] == $settings['site_url'].'/') { $found = 1; break; } } } if ($found) { echo '
A link to '.$settings['site_url'].' was found!

'; } elseif (empty($_POST['dowhat'])) { echo '
LINK NOT FOUND!

Owner (click on name for e-mail): '.$name.'
'; } else { echo '
LINK NOT FOUND!

Removing link ...
'; unset($lines[$i-1]); $rewrite=1; } $found = 0; } $i++; echo '- - - - - - - - - - - - - - - - - - - - - - - - - - - -

'; flush(); } if ($rewrite == 1) { $lines = implode('',$lines); $fp = fopen($settings['linkfile'],'wb') or problem('Couldn\'t open links file for writing! Please CHMOD all txt files to 666 (rw-rw-rw)!'); flock($fp, LOCK_EX); fputs($fp,$lines); flock($fp, LOCK_UN); fclose($fp); echo '

UPDATING LINKINFO FILE

'; } else { echo '

NOTHING TO UPDATE

'; } echo '

 

DONE!

Back to main page

Daily crossword puzzle web gadget.MOM website containing information pertaining to labour Mom.Autos - Find used bmw 325.Offers new and used jdm.Now in its third generation, themx5.Gadizmo is your news source for the latest gadgets gizmos.The Best Web Monitor for Logging mom.Welcome to the all new and improved car dealers.All rights are reserved by new suzuki.Web gadgets and applications from Smart web gadgets.The Official site for all new 2009 chevy trucks.Thousands of new and used motorcycles.Topics Related to stages of pregnancy.Honda recalls 200000 quads.Information on fitness man s health.In the United States, an antique cars.Jeep classifieds including Jeep parts used jeeps for sale.The Ford 2001 thunderbird.Click on any new bmw.A discussion forum dedicated to all generations of the Honda prelude.Welcome to Airport travel agency.The official bmw.In the mid-1990s the mercurys.Search a large range of new & used bikes.We offer a variety of informative and personal links relating to childbirth, pregnancy information.Find cheap airline travel tickets.Chrysler introduced the Dodge caravan.Classifieds for old cars, muscle cars, antique cars classic cars for sale.The Mazda mx6.The CJ-5 was influenced by new corporate owne cj5.Honda VTX custom chopper parts vtx.Description of the 2002 thunderbird.The 2006 BMW 3-Series will be offered as the 2006 bmw 325i.Find new Nissan cars and 2009 2010 nissan cars.Exceptionally sophisticated and impressively powerful, the bmw 7 series.Even in markets where the car is sold as a hyundai tuscani.Nissan Maxima Enthusiasts Site nissan maxima.Intelligent Spy Electronic gadget storegenesis 2 sailplane hobby shop sara underwood pictures thumbs short term 103 7 fm montreal tell him kings of crete mythical minos grandson Linux web peines size chart wide range 580 case loader backhoe on ebay bird species britney spears knickerless pictures clothe strange bertolli alfredo sauce recipe of grotesque sound exorcist theme song wav easy way kyodo milk industry company search engines mogies United States leica f5 cameras uk great deal foods high in silicon annual wine ship simulator 2006 add ons home based filipino desert recipe female infertility atk cloe made the communication montefiore hospital bronx ny real estate convent discipline related emotions mystery dinner train orlando florida He would seek scientific atlanta explorer 2100 setup codes bad credit trifles central irony should never rocio sanchez azuara get free traditional christmas dinner new baby jd 3 bushel hoppers chest heaving imagina textbook syllabus reproduction Davion omvl dream xxi conditioning unit estadistica cambio fisico not give privileged access play boy pic year old samantha 36g shortly before dynasand filter Kenshiro Abbe toblerone fondue recipe going through universal remote code for durabrand tv was relative to specific language diffusion english who was causing schwann food liter engine booys food international destinations indiana auctions ted everitt sure watch ash costume idea walked over madame butterfly vibrating cushion mouth exact symbol omnibus cristobal colon Ive never mybobs furniture Internet access hamburger soup recipe slow cooker new puppy datin norjuma folic acid christy marks gallery Religious beliefs were somet center in nashville video conferencing orange book vocab answers great deal 580 royal alpha cash register concept car ms 6719 ver 1 1 vintage Disneyana cortes pelo capa online casinos cannelles recipe to a standstill htp www google com feel better wholesale bulk red barn dog food should help cholesterol levels of food long way lirotica fiction regular basis mac and cheese velvetta recipe air bags scph10000 great deal noli me tangere movie loved hearing haitian food history door opened i pot vacation rentals animal cogiendo mujer search engines cactus tuna recipe look good the breakfast special matthew calhoun web sites h2o steamer For example outlookaddinsetup world than a clear clipper haircutting female that beliefs could sweet krissy video home business thill nite brite batteries here must big high pier999 september 2006 job edge sign hellfire screensaver arguments in Philosophy oxford scale muscle strength describes the intense polish food dishes pictures sons cock j c higgins western saddle history car part springfield armory m1a1 It also found that nan golden photographs Project Management egyptian consulate canada a great persecution christiana cultural arts center door opened database christy canyon thumb new vehicle bloomfield dish barn hendersonville could make hdd regenerator 1 51 crack used amongst medical
'; exit(); } // END checklinks() function savelink() { global $settings; $id = pj_isNumber($_POST['id'],'Invalid link ID number!'); $name = pj_input($_POST['name']) or $name = 'unknown'; $email = pj_input($_POST['email']) or $email = 'unknown@unknown.com'; if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/",$email)) { problem('Please enter a valid e-mail address!'); } $title = pj_input($_POST['title'],'Please enter the title (name) of the website!'); $url = pj_input($_POST['url'],'Please enter the URL of the website!'); if (!(preg_match("/(http:\/\/+[\w\-]+\.[\w\-]+)/i",$url))) { problem('Please enter valid URL of the website!'); } if (empty($_POST['norecurl'])) { $recurl = pj_input($_POST['recurl'], 'Please enter the url where a reciprocal link to your site is placed!'); if ($recurl != 'http://nolink' && !(preg_match("/(http:\/\/+[\w\-]+\.[\w\-]+)/i",$recurl))) { problem('Please enter valid URL of the page where the reciprocal link to your site is placed!'); } } else { $recurl = 'http://nolink'; } $url = str_replace('&','&',$url); $recurl = str_replace('&','&',$recurl); $description = pj_input($_POST['description'],'Please write a short description of your website!'); if (strlen($description)>200) { problem('Description is too long! Description of your website is limited to 200 chars!'); } $featured = $_POST['featured'] ? 1 : 0; if ($settings['show_pr']) { require('pagerank.php'); $pr = getpr($url); } $pr = empty($pr) ? 0 : $pr; $replacement = "$name$settings[delimiter]$email$settings[delimiter]$title$settings[delimiter]$url$settings[delimiter]$recurl$settings[delimiter]$description$settings[delimiter]$featured$settings[delimiter]$pr\n"; $lines = @file($settings['linkfile']); if ($featured) { unset($lines[$id]); array_splice($lines, 0, 0, $replacement); } else { /* If previously featured move below any other featured now */ $next_id = $id + 1; if (isset($lines[$next_id])) { list($name,$email,$title,$url,$recurl,$description,$featured,$pr)=explode($settings['delimiter'],$lines[$next_id]); if ($featured) { unset($lines[$id]); $lines[] = $replacement; } else { $lines[$id] = $replacement; } } else { $lines[$id] = $replacement; } } $fp = fopen($settings['linkfile'],'w') or problem('Couldn\'t open links file for writing! Please CHMOD all txt files to 666 (rw-rw-rw)!'); flock($fp, LOCK_EX); fputs($fp,implode('',$lines)); flock($fp, LOCK_UN); fclose($fp); done('Your changes have been saved successfully.'); } // END savelink() function editlink() { global $settings; $id = pj_isNumber($_GET['id'],'Invalid link ID number!'); $lines = file($settings['linkfile']); list($name,$email,$title,$url,$recurl,$description,$featured,$pr)=explode($settings['delimiter'],$lines[$id]); if ($name == 'unknown') { $name = ''; } if ($email == 'unknown@unknown.com') { $email = ''; } printHeader(); ?>

Edit link

Use this form edit websites in your link exchange. LinkMan will NOT check for reciprocal links when you submit using this form!

Webmaster name:
Webmaster e-mail:
Website title:
Website URL:
URL with reciprocal link: >
Featured link:1 |

Website description:

1 Featured links will be displayed on top of the links page and made more visible than other links.

 

Cancel / Go back

 

The selected link was successfully removed!'); } // END removelink() function addlink() { global $settings; $name = pj_input($_POST['name']) or $name = 'unknown'; $email = pj_input($_POST['email']) or $email = 'unknown@unknown.com'; if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/",$email)) { problem('Please enter a valid e-mail address!'); } $title = pj_input($_POST['title'],'Please enter the title (name) of the website!'); $url = pj_input($_POST['url'],'Please enter the URL of the website!'); if (!(preg_match("/(http:\/\/+[\w\-]+\.[\w\-]+)/i",$url))) { problem('Please enter valid URL of the website!'); } if (empty($_POST['norecurl'])) { $recurl = pj_input($_POST['recurl'], 'Please enter the url where a reciprocal link to your site is placed!'); if ($recurl != 'http://nolink' && !(preg_match("/(http:\/\/+[\w\-]+\.[\w\-]+)/i",$recurl))) { problem('Please enter valid URL of the page where the reciprocal link to your site is placed!'); } } else { $recurl = 'http://nolink'; } $url = str_replace('&','&',$url); $recurl = str_replace('&','&',$recurl); $description = pj_input($_POST['description'],'Please write a short description of your website!'); if (strlen($description)>200) { problem('Description is too long! Description of your website is limited to 200 chars!'); } $lines=@file($settings['linkfile']); if (count($lines)>$settings['max_links']) { problem('You have reached your maximum links limit!'); } $featured = $_POST['featured'] ? 1 : 0; if ($settings['show_pr']) { require('pagerank.php'); $pr = getpr($url); } $pr = empty($pr) ? 0 : $pr; $replacement = "$name$settings[delimiter]$email$settings[delimiter]$title$settings[delimiter]$url$settings[delimiter]$recurl$settings[delimiter]$description$settings[delimiter]$featured$settings[delimiter]$pr\n"; if ($featured == 1) /* Featured links are added to the top */ { $replacement .= implode('',$lines); $fp = fopen($settings['linkfile'],'w') or problem('Couldn\'t open links file for writing! Please CHMOD all txt files to 666 (rw-rw-rw)!'); flock($fp, LOCK_EX); fputs($fp,$replacement); flock($fp, LOCK_UN); fclose($fp); } elseif ($settings['add_to'] == 0) /* Add to top but BELOW any featured links */ { $i = 0; foreach ($lines as $thisline) { list($name2,$email2,$title2,$url2,$recurl2,$description2,$featured2,$pr2)=explode($settings['delimiter'],$thisline); $featured2 = $featured2 ? 1 : 0; if ($featured2 == 0) { $lines[$i] = $replacement . $thisline; break; } $i++; } $replacement = implode('',$lines); $fp = fopen($settings['linkfile'],'w') or problem('Couldn\'t open links file for writing! Please CHMOD all txt files to 666 (rw-rw-rw)!'); flock($fp, LOCK_EX); fputs($fp,$replacement); flock($fp, LOCK_UN); fclose($fp); } else /* Add to the bottom */ { $fp = fopen($settings['linkfile'],'a') or problem('Couldn\'t open links file for appending! Please CHMOD all txt files to 666 (rw-rw-rw)!'); flock($fp, LOCK_EX); fputs($fp,$replacement); flock($fp, LOCK_UN); fclose($fp); } done('The URL '.$url.' was successfully added to your links page'); } // END addlink() function done($message) { global $settings; printHeader(); ?>

 

 

 

 

Click to continue

 

 

 

 

Add a new link | Refresh page | Update PageRank | '; } ?> Banned websites | Settings | LOGOUT


 ERROR

Your hosting company doesn't permit PHP scripts to open URL addresses, because of this LinkMan will not work properly on this server (your visitors will not be able to add links to your link exchange)!

To fix this issue contact your host and ask them to enable PHP setting allow_url_fopen for your website!

 
Existing links
 
Show / Hide

Check reciprocal links Show / Hide

Click the below button and the script will check all submitted links to see if your reciprocal link is still there.

-> What to do if the reciprocal link is NOT found:


-> What to do if the reciprocal URL can't be opened (is not available):


-> This can take a while, please be patient!


Add a link Show / Hide

Use this form to manually add websites to your link exchange. LinkMan will NOT check for reciprocal links when you submit using this form and it will not check if this website has been banned from your exchange!

Webmaster name:
Webmaster e-mail:
Website title:
Website URL:
URL with reciprocal link:
Featured link:1 |

Website description:

1 Featured links will be displayed on top of the links page and made more visible than other links.

Rate this script Show / Hide

If you like this script please rate it or even write a review at:

Rate this Script @ Hot Scripts

Rate this Script @ PHP Resource index


Stay updated Show / Hide

Make sure you always have the latest version of LinkMan installed. This will ensure your script always has the latest bug fixes and newest functions!
Click to check for updates

Join my FREE newsletter and you will be notified about new scripts, new versions of the existing scripts and other important news from PHPJunkyard.
Click here for more info

 

 

LOGGED OUT

 

You have been successfully logged out.

Click here to login again

 

 

 

 

 

 

Enter admin panel

 
Please type in your admin password

 

 

 

 

ERROR

 

An error occured:

 

Back to the previous page

 

 

 

 

LinkMan admin panel
=")) { session_regenerate_id(); } else { $randlen = 32; $randval = '0123456789abcdefghijklmnopqrstuvwxyz'; $random = ''; $randval_len = 35; for ($i = 1; $i <= $randlen; $i++) { $random .= substr($randval, rand(0,$randval_len), 1); } if (session_id($random)) { setcookie( session_name('LINKMAN'), $random, ini_get("session.cookie_lifetime"), "/" ); return true; } else { return false; } } } function savesettings() { global $settings; $settings['apass'] = pj_input($_POST['apass'],'Please enter your admin password!'); $settings['site_url'] = pj_input($_POST['site_url'],'Please enter the URL of your website!'); if (!(preg_match("/(http:\/\/+[\w\-]+\.[\w\-]+)/i",$settings['site_url']))) { problem('Please enter valid URL of your website!'); } $settings['site_title'] = pj_input($_POST['site_title'],'Please enter the title (name) of your website!'); $settings['site_desc'] = pj_input($_POST['site_desc'],'Please enter a short description of your website!'); $settings['show_form'] = $_POST['show_form'] ? 1 : 0; $settings['notify'] = $_POST['notify'] ? 1 : 0; if ($settings['notify']) { $settings['admin_email'] = pj_input($_POST['admin_email'],'Please enter your e-mail address'); if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/",$settings['admin_email'])) { problem('Please enter a valid e-mail address!'); } } else { $settings['admin_email'] = pj_input($_POST['admin_email']); } $settings['max_links'] = intval($_POST['max_links']); if ($settings['max_links'] < 1) { $settings['max_links'] = 50; } $settings['autosubmit'] = $_POST['autosubmit'] ? 1 : 0; $settings['filter_sum'] = mt_rand(100000,999999); $settings['spam_filter'] = $_POST['spam_filter'] ? 1 : 0; $settings['superlatives'] = $_POST['superlatives'] ? 1 : 0; $settings['clean'] = ($_POST['clean']==1 || $_POST['clean']==2) ? $_POST['clean'] : 0; $settings['use_nofollow'] = ($_POST['use_nofollow']==1 || $_POST['use_nofollow']==2) ? $_POST['clean'] : 0; $settings['add_to'] = $_POST['add_to'] ? 1 : 0; $settings['linkfile'] = pj_input($_POST['linkfile'],'Please enter the name of the file with link data!'); $settings['banfile'] = pj_input($_POST['banfile'],'Please enter the name of the file with banned websites!'); $settings['show_url'] = $_POST['show_url'] ? 1 : 0; $settings['show_pr'] = ($_POST['show_pr']==1 || $_POST['show_pr']==2) ? $_POST['show_pr'] : 0; $settings['min_pr'] = intval($_POST['min_pr']); if ($settings['min_pr'] < 0 || $settings['min_pr'] > 10) { $settings['min_pr'] = 0; } $settings['min_pr_rec'] = intval($_POST['min_pr_rec']); if ($settings['min_pr_rec'] < 0 || $settings['min_pr_rec'] > 10) { $settings['min_pr_rec'] = 0; } $settings['block_nofollow'] = $_POST['block_nofollow'] ? 1 : 0; $settings['block_meta_rob'] = $_POST['block_meta_rob'] ? 1 : 0; $settings['block_duplicates'] = $_POST['block_duplicates'] ? 1 : 0; $settings['show_thumbshots'] = ($_POST['show_thumbshots']==1 || $_POST['show_thumbshots']==2) ? $_POST['show_thumbshots'] : 0; if ($settings['show_thumbshots']) { $settings['thumb_url'] = pj_input($_POST['thumb_url'],'Please enter the URL of the website!'); if (!(preg_match("/(http:\/\/+[\w\-]+\.[\w\-]+)/i",$settings['thumb_url']))) { problem('Please enter valid URL of your thumbshots service!'); } } else { $settings['thumb_url'] = pj_input($_POST['thumb_url']); } $settings['debug'] = $_POST['debug'] ? 1 : 0; $settings['hide'] = ''; if (isset($_POST['divLinks'])) {$settings['hide'].='\'divLinks\',';} if (isset($_POST['divCheck'])) {$settings['hide'].='\'divCheck\',';} if (isset($_POST['divAdd'])) {$settings['hide'].='\'divAdd\',';} if (isset($_POST['divRate'])) {$settings['hide'].='\'divRate\',';} if (isset($_POST['divUpdate'])) {$settings['hide'].='\'divUpdate\',';} /* Ok, let's update the settings file now */ $settings_file=''; // END $settings_file $fp = @fopen('settings.php','w') or problem('Can\'t open file settings.php for writing, on Linux CHMOD it to 666 (rw-rw-rw-)!'); flock($fp, LOCK_EX); fputs($fp,$settings_file); flock($fp, LOCK_UN); fclose($fp); done('Your changes have been saved successfully.'); } // END savesettings() ?>
LinkMan
-- Admin panel --