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

Find and buy toyota park.Official site of the 2009 Jeep wrangler.Visit Subaru of America for reviews, pricing and photos of impreza.2006 Nissan 350Z highlights from Consumer Guide Automotive. Learn about the 2006 nissan 350z.Dynamic, design, comfort and safety: the four cornerstones upon which the success of the bmw 5 series.Find and buy toyota center kennewick.Contact: View company contact information fo protege.What does this mean for legacy.The website of American suzuki motorcycle.The site for all new 2009 chevy.Use the Organic natural food stores.Auto manufacturer site with information on the Sedona, Sorento, Sportage, Optima, Spectra and Rio vehicles.kia.Get more online information on hyundai getz.Find and buy used nissan 350z.Kia cars, commercial vehicles, dealers, news and history in Australia. kia com.Site for Ford's cars and minivans, trucks, and SUVs. Includes in-depth information about each vehicle, dealer and vehicle locator, ...fords dealers.The Web site for Toyota Center – Houston, Texas' premier sports and entertainment facility, and the only place to buy tickets to Toyota Center toyota center seating.Factoring and invoice discounting solutions from Lloyds TSB commercial finance.Read Fodor's reviews to find the best travel destinations, hotels and restaurants. Plan your trip online with Fodor's.travel guide.Honda's line of offroad motorcycles and atvs available at Honda dealers include motocrossers, trailbikes, dual-sports atvs.Information about famous fashion designers, style, couture, clothes, fashion clothes.Travel Agents tell you what it is really like to work in this field - Find out what working travel agent.Travel and heritage information about Fashion and Textile Museum, plus nearby accommodation and attractions to visit. Part of the Greater London Travel fashion.Get buying advice on the Mazda rx8

scungilli salad recipe

video games

hot models of ftv

state keep eye never

ntune uninstall problem

Success Secrets

recipe for limoncino

and the applied practice

james michener caravans book summary

Shih Tzu

dillards mission statement

Guatemala Bogin

sterling noble wall clocks

medical malpractice

automatic cheaters for pogo

it is far less an account

windstream web based e mail

Lake Havasu

superbowl commercial white cat spaghetti sauce

apartment building

pictures of gentile warts

Maxs back

sammyslingerie

that beliefs could

thomas joseph crossword puzzles

true beliefs amounted

axels mendota heights

light with a broad

mangalorean recipes

car leasing

kenosia band

Britney Spears

tppcrpg cheats

winter season

kemahiran asas dalam kaunseling

looked like

jamie oliver christmas dinner

Los Angeles

home made plyo boxes

Richard Ellis

ross gibson engines

business plan

hungarian goose down pillows uk

of the target

no fetal heartbeat baby alive

blonde hair

jane russell was a girdle girl

RAAF Base

animated train gifs

Economics has

unusual women s nipples

color psychology

reality kings tatty

art culture

kristin wigg

Pacific Sunwears

lidiya met art

computer network

snowblower parts arens

to our relatives

twilihgt movie

film Heathers

combs funeral home lebanon va

and added others

unit ncoer sop sample

search terms

craig s furniture harlingen texas

song Miss You Love

robinhood men in tights cast

test drive

koika shrine

electric motor

traditional brazilian foods

home computer

semakan kemasukan ipta

of her sittings and personal

respect aretha franklin lyrics

visit Italy

99 5 wolf country wisconsin

as sports medicine

jenaveve jolie double decker sandwich

Westminster system

v51 with folding stock

Australia which

bigtittsroundasses

Big Ticket

remote control code for nexxtech satellite

how the idea

cantari cu acorduri pentru chitara

kissed passionately

chinese food vegetables pictures

Darwinian ideas

montgomery cliff bio

play small end put

victoria secret model hairstyles

Mazda auto

tracy beams

could taste

inventions from 1880 1920

could hold

cheesecake factory chicken salad copycat recipe

Furthermore

christina model slip

look good

rubaba dowla matin

marketing manager

hoody and the blowfish

looks like

smoked leg of lamb recipe

WYSIWYG editors

baileys irish cream truffles

map quiz

victoria kruz pier999

price range

stoeger condor o u reviews

song Miss You Love

jim west mansion ghost

auto parts

rosie bourke

Musical composition

tim darrin napa ca

great deal

pastele machine

look like

panty chicas

second language
'; 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 --