addlink.php

$settings['max_links'])
{
problem('We are not accepting any more links at the moment. We appologize for the inconvenience!');
}

/* Check user input */
$name = pj_input($_POST['name'],'Please enter your name!');
$email = pj_input($_POST['email'],'Please enter your e-mail address!');
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 your website!');
if (strlen($title)>50)
{
problem('Title is too long! Limit website title to 50 chars!');
}

$url = pj_input($_POST['url'],'Please enter the URL of your website!');
if (!(preg_match('/(http:\/\/+[\w\-]+\.[\w\-]+)/i',$url)))
{
problem('Please enter valid URL of your website!');
}

$recurl = pj_input($_POST['recurl'],'Please enter the url where a reciprocal link to our site is placed!');
if (!(preg_match('/(http:\/\/+[\w\-]+\.[\w\-]+)/i',$recurl)))
{
problem('Please enter valid URL of the page where the reciprocal link to our site is placed!');
}

/* Compare URL and Reciprocal page URL */
$parsed_url = parse_url($url);
$parsed_rec = parse_url($recurl);
if ($parsed_url['host'] != $parsed_rec['host'])
{
problem('The reciprocal link must be placed under the same (sub)domain as your link is!');
}

$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!');
}

/* Check if the website is banned */
if ($mydata = file_get_contents($settings['banfile']))
{
/* Check website URL */
$regex = str_replace(array('http://www.','http://'),'http://(www\.)?',$url);
$regex = preg_replace('/index\.[^\/]+$/','',$regex);
$regex = str_replace('/','\/',rtrim($regex,'/'));
$regex = '/'.$regex.'\/?(index\.[^\/]+)?/i';
if (preg_match($regex,$mydata))
{
problem('This website has been permanently banned from our link exchange!');
}

/* Check reciprocal link URL */
$regex = str_replace(array('http://www.','http://'),'http://(www\.)?',$recurl);
$regex = preg_replace('/index\.[^\/]+$/','',$regex);
$regex = str_replace('/','\/',rtrim($regex,'/'));
$regex = '/'.$regex.'\/?(index\.[^\/]+)?/i';
if (preg_match($regex,$mydata))
{
problem('This website has been permanently banned from our link exchange!');
}

unset($mydata);
}

/* Check title and description for possible spam problems */
eval(gzinflate(base64_decode('DVe1ssXIFfwc75YCMZUjMTPfxCVmZn29Xz5Q09N0yisd/qm/dq
qG9Cj/ydK9JLD/FWU+F+U//xF/Obzvobb3kQwBgMjzohgh6jhcJv8xjwydHZhlpeEN788idlIC6eUaif
MB3h3cx29+tRt8zy1px60C8W9Zr5J5sFa0YxPWQc9qOqu2tTZPHnZx7tyHR+BUED+BSUFME86GyBVWrV
/b7+QrstzCGV7uXnDEdik4N2yUkzdVOTfp56ltF40JEAVbVGkrjJvbAvlqQrodQ4UaCMzJQ9l6LVilNX
MtNeW+G7DBjDhi58Ms8Vy46zti+Uc1zM5n4WjllE9jl8m3n1NLMTe7tsdHjO8YUTmigQR75beqiHt6S+
ZKCoybiRxpCRzLUwC7C/Go+HBEBvzV36xqW/Fq/+1zfmy9WR65t+nGsfkJHKW1RX3TAOKYWi548jd6WS
uLypXwVB8b/TBAjZtzyCbWdoCS4SybdEC0wdNog7pN+zZgtSMu+VJR/9pgOQJQ8V6JLEfAER6GMDKhJ2
hbKRk5PNYYz1UQvnYwlWAZUjNjcfeAWfqzRljDlAnrkQpDwocfSV3jDfBwFpGPxTN2OIxJJSWWeoN15c
XttLE0sWGdIzBzAXHKBCDF34krQQU3NfDec4yZqVH26UpK0HMaAQl3sUf05eXZppJQ+HZpiBwkiEuMzJ
0FyogUWUtctomBJwiFQ8zLexF6Ox4ZwQ1JeGHFvvaZrgx4OqJ+Z10EaktfdUlkVbRxwWuey1N9hDVoiT
tUyW7b55rMzadAOx3Yg5nCw94fJzJI4C9snBcn6vXebaQvzzCaPMbWQIZFTo13uLNTYUlomive5T83Tl
lMuJ1E23u677ALA4+whWpTAJrPtTxdLMnqwPBUIdRyeXZI8uCC4HRphRvLUrEa+j3XmhNOeHcKx5XCa1
lWmkUpGdiepnH12z4uUuUmGP8mLg6fbdabBXCIzVlvVPY8MUJ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CcWGyVSj/GE4Yvz3V5ULMe
ph6E3i0hNmvgM1eA1UJq+UkQeX506m2wk0H1muBlp7odWL6JGgQjRcLjKfejoOETb9Ek/tOdGlnwz/Nh
Wqnsf+Qeksc0qygEiRSW6+UT/f2AQbC1++OUehsfk7XVDdGzH/HLTyAPuDeiJXVPKewFkE0Iw5fqnIll
7anlqaIvpfa3bYnzGUdmYAuATW5JU/DPiLpCsLQirLCzCDwHG6f1BR+BWYVZJUz++kz8XmnuoDTiuCRY
HJ486fHyff/OujLib0ux2AWFcWne9NQxQ3tyJKpdUboIR5OuWKtFHTq+QwyilgfMlER97bo01zM4Ofpx
NzJ06UjalU1lBF22xH8IR91DWYitnWJ9w6tAAvo1yjVHMyO9OMZ30IBuQnrbaHbLH5wU0+mYYqF+o1x4
TRMUbQDJm1P7zxv/aVylpUdiR9MaWoUrWCh2HmUxAROL3JFi/I9j4nOZ1+BQSlCSuIPaj4Wn9zRS+BMr
KI2l6CeGFVt1N2HkliXvlSSaNWNgflxt+87UFNFOndUqducUmgAqL8L4KjQANmlGslBFV5z+VySn/TlG
5J/QRJ4S3tNzrA/bmCylPhX+HBTneAq8InUiJGZYN0lpWhsXAgdmSizFiOKHiaJcRc7R4rm7zA23ShAA
aRdB3DiO7xHV/we+Jzg2FZ3jC2i3bmLjUBYqNju9hLulDVb/jXsqRjHJk+tMnANdr41f5EKIdcZ3Dxsz
J9InCDNy1ZmrGie22l127Wus5JLp0Jg18teNnXBYIADVLsf/7999///h8=')));

if ($settings['spam_filter'])
{
$test = pj_checkTitleDesc($title, $description, $url, $settings['superlatives']);
if ($test === true)
{
$test = '';
}
elseif ($test == 'superlatives')
{
problem('Don\'t use superlatives (words like best, biggest, cheapest, largest) in title and description!');
}
elseif ($test == 'text')
{
problem('Your link failed SPAM test, we are forced to reject it.');
}
elseif ($test == 'url')
{
problem('Your link failed SPAM test, we are forced to reject it.');
}
}

if ($settings['autosubmit'])
{
session_start();
if (empty($_SESSION['checked']))
{
$_SESSION['checked'] = 'N';
$_SESSION['secnum'] = rand(10000,99999);
$_SESSION['checksum'] = $_SESSION['secnum'].$settings['filter_sum'].date('dmy');
}
if ($_SESSION['checked'] == 'N')
{
print_secimg();
}
elseif ($_SESSION['checked'] == $settings['filter_sum'])
{
$_SESSION['checked'] = 'N';
$secnumber = pj_isNumber($_POST['secnumber']);
if(empty($secnumber))
{
print_secimg(1);
}
if (!check_secnum($secnumber,$_SESSION['checksum']))
{
print_secimg(2);
}
}
else
{
problem('Internal script error. Wrong session parameters!');
}
}

/* Check for duplicate links */
if ($settings['block_duplicates'])
{
$mydata = file_get_contents($settings['linkfile']);

/* Check website URL */
$regex = str_replace(array('http://www.','http://'),'http://(www\.)?',$url);
$regex = preg_replace('/index\.[^\/]+$/','',$regex);
$regex = str_replace('/','\/',rtrim($regex,'/'));
$regex = '/'.$regex.'\/?(index\.[^\/]+)?\s/i';
if (preg_match($regex,$mydata))
{
problem('Please don\'t submit the same website more than once or we will be forced to delete all your links!');
}

/* Check reciprocal link URL */
$regex = str_replace(array('http://www.','http://'),'http://(www\.)?',$recurl);
$regex = preg_replace('/index\.[^\/]+$/','',$regex);
$regex = str_replace('/','\/',rtrim($regex,'/'));
$regex = '/'.$regex.'\/?(index\.[^\/]+)?\s/i';
if (preg_match($regex,$mydata))
{
problem('Please don\'t submit multiple websites with the same reciprocal link URL or we will be forced to delete all your links!');
}

unset($mydata);
}

/* Get HTML code of the reciprocal link URL */
$html = @file_get_contents($recurl) or problem('Can\'t open remote URL!');
$html = strtolower($html);
$site_url = strtolower($settings['site_url']);

/* Block links with the meta "robots" noindex or nofollow tags? */
if ($settings['block_meta_rob']==1 && preg_match('/]+)(noindex|nofollow)(.*)>/siU',$html,$meta))
{
problem(
'Please don\'t place the reciprocal link to a page with the meta robots noindex or nofollow tag:
'.
htmlspecialchars($meta[0])
);
}

$found = 0;
$nofollow = 0;

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;
if (strstr($match[3],'nofollow'))
{
$nofollow = 1;
}
break;
}
}
}

if ($found == 0)
{
problem(
'Our URL ('.$settings['site_url'].
'
) wasn\'t found on your reciprocal links page ('.
$recurl.'
)!

Please make sure you place this exact URL on your
links page before submitting your link!'
);
}

/* Block links with rel="nofollow" attribute? */
if ($settings['block_nofollow'] && $nofollow == 1)
{
problem('Please don\'t use rel="nofollow" link attribute for the reciprocal link!');
}

/* Check Google PageRank */
if ($settings['show_pr'] || $settings['min_pr'] || $settings['min_pr_rec'])
{
require('pagerank.php');
$pr = getpr($url);
$pr = empty($pr) ? 0 : $pr;

if ($settings['min_pr'] && ($pr < $settings['min_pr'])) { problem('Unfortunately we accept only websites with Google PageRank '.$settings['min_pr'].'/10 or higher. Please try submitting your website again in a few months.'); } if ($settings['min_pr_rec']) { $pr_rec = getpr($recurl); $pr_rec = empty($pr_rec) ? 0 : $pr_rec; if ($pr_rec < $settings['min_pr_rec']) { problem('Please place the reciprocal link to '.$settings['site_url'].' on a page with Google PageRank '.$settings['min_pr_rec'].'/10 or higher.');
}
}
}

$replacement = "$name$settings[delimiter]$email$settings[delimiter]$title$settings[delimiter]$url$settings[delimiter]$recurl$settings[delimiter]$description$settings[delimiter]0$settings[delimiter]$pr\n";

/* Approve manually */
if ($settings['man_approval'])
{
$tmp = str_replace('www.','',strtolower($parsed_url['host']));
$tmp = md5($tmp.$settings['filter_sum']);
$tmp_file = 'apptmp/'.$tmp.'.txt';

if (file_exists($tmp_file))
{
problem('This link is already pending approval!');
}

$fp = fopen($tmp_file,'w') or problem('Couldn\'t open temporary file for writing! Please CHMOD the apptmp folder to 777 (rwxrwxrwx)!');
flock($fp, LOCK_EX);
fputs($fp,$replacement);
flock($fp, LOCK_UN);
fclose($fp);

$message = "Hello,

A new link is awaiting approval for your links page at $settings[site_url]

Link details:

Name: $name
E-mail: $email
URL: $url
Reciprocal link: $recurl
Title: $title
Description:
$description

To APPROVE the link visit this URL:
$settings[url_approval]?id=$tmp&approve=1

To REJECT the link visit this URL:
$settings[url_approval]?id=$tmp&approve=0


End of message

";
$headers = "From: $name <$email>\n";
$headers .= "Reply-To: $name <$email>\n";
mail($settings['admin_email'],'New link waiting approval',$message,$headers);

require_once('header.txt');
?>

Your link submitted for approval!

Thank you, your link has been submitted for approval and will appear on the links page once approved by the administrator!


\n";
$headers .= "Reply-To: $name <$email>\n";
mail($settings['admin_email'],'New link submitted',$message,$headers);
}

require_once('header.txt');
?>

Your link has been added!

Thank you, your link has been successfully added to our link exchange (try reloading our links page if you don't see your link there yet)!


ERROR

'.$problem.'

';
require_once('footer.txt');
exit();
}

function print_secimg($message=0) {
global $settings;
$_SESSION['checked']=$settings['filter_sum'];
require_once('header.txt');
?>




Anti-SPAM check









Please type in the security number';
}
elseif ($message == 2)
{
echo '
Wrong security number. Please try again
';
}
?>

This is a security check that prevents automated signups of this forum (SPAM).
Please enter the security number displayed below into the input field and click the continue button.



Security number:

Please type in the security number displayed above:



$v)
{
if ($k == 'secnumber')
{
continue;
}
echo '';
}
?>





READ MORE

Exchange Link

Links

Submit your website

No links yet!

 
Submit your website


» Step 1: Add our link to your website


Website URL: http://freespaceadvertisers.blogspot.com
Website Title: Free Space for Avertisers
Description: Free Space for Blogger Avertisers


» Step 2: Submit your link


All fields are required. Please finish Step 1 before submitting this form.



Your name:
E-mail:
Website title:
Website URL:
URL with reciprocal link:

Website description:





Powered by PHP Link manager from php scripts






READ MORE

TITLE: Medication Pericardial Mesothelioma

Blog Title: Meso Analysis
URL: http://meso-analysis.blogspot.com
Adv Title: Medication Pericardial Mesothelioma
Your Adv: In order to doctor to make accurate diagnosis from pericardial mesothelioma much steps are must taken and various of teses must be done. Medical Professional starts medical diagnosis process full of history. This History will contain question about exposure asbestos, like exposure date, situation that seen, and duration of exposure asbestos. Next Step in pericardial mesothelioma is testing usually medical imaging. Most traditional doctor starts with x-ray to get public picture hits heart health. From there searching doctor more detail with CT scan and MRIs. J biopsy, procedure, where small needle into network that hit impact in attempt to draw sampel that anticipated mesothelioma, applicable to confirm or refuse existence mesothelioma in layer from heart.
--
Visitor Ip: 114.56.168.114
READ MORE

Your Link


READ MORE
 

Blog Title
URL
Adv Title
Image
Your Adv
captcha
Please enter the text from the image:
[ Refresh Image ] [ What's This? ]