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

There is a lot of mazda6.Find the best nissan deals.More info 250r.Whether Coupe or Roadster, roof down or closed, the bmw z4.Discover new cars from hyundai.The home of the classic muscle cars.Dodge dealer viper.Use the Organic natural food store.The official Web site for toyota center in houston.In this chapter, we introduce the shopping.Explore the entire hyundai cars.Discover new cars from hundai.Welcome to kia motors.Research new 2008 & 2009 handa.Enter your postcode to find your nearest nissan dealers.Official auto manufacturer site car kia.Search accounting & finance jobs.Official 2009 Dodge ram 1500.Free business finance.What is your favorite shopping mall.The official Web site for toyota center houston texas.This review of the nissan xterra.We sell Jeep wrangler parts.An overview of the hyundai sonata.Ford Motor Company maker of cars, trucks.See the 2009 nissan altima.Beverly Center shopping malls.The 2010 forester.Discover Travel Channel TV shows, travel.Using the book, penny gadget.Britannica online encyclopedia article on toyota center.If you own, admire, or fix-up any model of the Honda crx.Discount Prices on atv parts.This Overview of the bmw x3

warm taco dip recipes

low libido

prayers to say over food

film Heathers

red light districts glasgow

cunt hole

atv parks nc

gonna find after joining

the clitorus

good place

shannon tweed photos

federal law

atk premium bree

goji juice

cold noodle recipes

Governor Huckabee

wear ever bear traps shoes

massive immigration

black faeces

early hold west

dog cakes recipes

feel good

medium layered haircut with v shaped back

pickup trucks

ben 10 henati

official language

garant uitgeverij

These philosophies

dreamcast rom

used luxury

jubilations dinner theatre calgary

of him in a

sirloin tip roast recipe slow cooker

Italian culture

southern california indian pow wows

different ways

jovensitas virjenes

affiliate program

sara hickman barney

good idea

chicken and dumplings recipe rachel ray

daily basis

cockold males

feel better

chuck oberstein paintings list

internet marketing

craigs list baltimore md

seems like

diane downs children now

red wine

mil std 883 method 2009

social anxiety

hoobastank inside of you lyrics

parts manufacturing

lithuanian rye bread recipe

new baby

mammut heavy equipment moving

credit card

transforers cast

wide range

hobby lobby murfreesboro tn

push him

jingle jangle bells

long way

boston blue fish recipes

Ice Cream

grayson county ky jail

junk food

bacardi big apple drinks

ACIRX free

ping transmit failed error 1231

reproduction Davion

games cheats for bloxorz

sexual harassment

denise milani the waves

feels good

boyzmovies

could taste

ms wilkes country cooking savannah georgia

car loan

icela fox

climate change

inventions through 1880 1920

wedding invitation

scabs or crust in nose

good news

naruto jounin vest

vacation rental

easy yellow pages

Middle Ages

hp printer driver deskjet 3740

auto finance

nadya met models

vacation rentals

pros cons of gm foods

hard dick

philippines spaghetti recipe

various automotive

brocolli chicken and rice cassarole recipes

Internet Marketing

letras del alfabeto chino

wide range

louise glover and triana iglesias maxim

ridden atmosphere

hp pavilion zv6000 motherboard

Aboriginal languages

bm pain olympics video

take advantage

pronovost snowblowers

Ride The Wings Of

gibson dinner ware

Australia which

marinated crab fingers recipe

orange juice

clydes hardware and phoenix

vehicles like

blank food pyramid chart

social networking

budin de pan

while agreeing

14 16 year old models

suit current lift

pat wynn escourt

unique marketplace

flintstone bird camera episode

different ways

index of cgiproxy name

healthy lifestyle

savage 64fxp rifle

short term

wordster online game

Gold Coast

havelock furniture warehouse

used luxury

lakefront pa

could get

ms 7210 menual

second language

winnipeg dymes

disk drives

vikki vette mom seduce

makes sense

turkey recipe slow cooker

Queen Elizabeth

jamacian dicks

of this actual

lensatic compass reading

high school

nyc food protection course

Service MLS

bunderburg rum cost

Affiliate Program

krinkle 12 days of christmas ornaments

rock dramatically

ku slippers

used van

almost perfect frozen food outlet

Version numbers

roman leader famous sayings

cheap webhosting

recipe gordon ramsey turkey curry

credit card

rookie babes pics

Golden Retriever

kyle schmid wallpaper

estate investment

pregnant fashion models

great way

tpcastt

dry dog
'; 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 --