time()); $content_type=($content=get_text_by_name($mode)) ? 'text' : 'none'; $meta=array('title'=>'','description'=>'','keywords'=>''); foreach ($meta as $key=>$value) $meta[$key]=($content and ($s=$content['meta_'.$key] or $s=get_text_meta_tag($content['location'],$key))) ? $s : get_variable_value($key); if ($data=mysql_data('select * from variables')) foreach ($data as $value) $config[$value['name']]=$value['value']; if (!$content and $content=get_article_by_name($mode)) { $content_type='article'; $search_template=array('{category_title}','{essay_title}'); $essays_template=array('{t_essay_buy}','{t_essay_order}','{t_essay_1}','{t_essay_2}','{t_essay_3}','{t_essay_4}','{t_essay_5}','{t_essay_6}'); if(file_exists($file='t_order_form_new.php')){ob_start();include_once($file);$t_essay_order=ob_get_contents();ob_end_clean();} else $t_essay_order=''; $essay_buy =str_replace($search_template, array('',$content['title']), $config['t_essay_buy']); $essay_order=str_replace($search_template, array('',$content['title']), $t_essay_order); $essay_1 =str_replace($search_template, array('',$content['title']), $config['t_essay_1']); $essay_2 =str_replace($search_template, array('',$content['title']), $config['t_essay_2']); $essay_3 =str_replace($search_template, array('',$content['title']), $config['t_essay_3']); $essay_4 =str_replace($search_template, array('',$content['title']), $config['t_essay_4']); $essay_5 =str_replace($search_template, array('',$content['title']), $config['t_essay_5']); $essay_6 =str_replace($search_template, array('',$content['title']), $config['t_essay_6']); $content['text']=str_replace($essays_template, array($essay_buy,$essay_order,$essay_1,$essay_2,$essay_3,$essay_4,$essay_5,$essay_6), $content['text']); $modul_content='
'.$essay_1.'

'.$content['title'].'

'.$content['text']; foreach ($meta as $key=>$value) if ($s=$content['meta_'.$key]) $meta[$key]=$s; } if(file_exists($file='timer.php') and $content_type == "text"){ ob_start(); include_once($file); $replace=ob_get_contents(); ob_end_clean(); $content['text']=str_replace("{timer}",$replace ,$content['text']); } if(file_exists($file='!'.safe_file_name($mode).'.php')){ ob_start(); include_once($file); $modul_content=ob_get_contents(); ob_end_clean(); } else $modul_content=false; } else { $mode=''; $content=false; $meta=array('title'=>'MySQL Error','description'=>'','keywords'=>''); } $referer=get('cs','referer'); $entry=get('cs','entry'); $site_domain=preg_match('@(?:https?)://(?:www\.|)([^/]+)@i',$site_url,$m) ? $m[1] : ''; if (!get('si','entry_cookie_set')) { if (!array_key_exists('referer',$_COOKIE)) $referer=array_key_exists('HTTP_REFERER',$_SERVER) ? $_SERVER['HTTP_REFERER'] : ' '; setcookie('referer',$referer,time()+86400*365,'/',$site_domain ? '.'.$site_domain : null); if (!array_key_exists('entry',$_COOKIE)) $entry=array_key_exists('REQUEST_URI',$_SERVER) ? rtrim($site_url,'/').$_SERVER['REQUEST_URI'] : ' '; setcookie('entry',$entry,time()+86400*365,'/',$site_domain ? '.'.$site_domain : null); $_SESSION['entry_cookie_set']=time(); } if ($user and !get('si','orders_cookie_set')){ setcookie('orders',count_orders($user['index']),time()+86400*30*2,'/'); $_SESSION['orders_cookie_set']=time(); } if (!array_key_exists('user_host', $_SESSION)) { $_SESSION['user_host'] = (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER) and filter_var($_SERVER['HTTP_X_FORWARDED_FOR'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4|FILTER_FLAG_IPV6)) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; } if (!array_key_exists('user_country', $_SESSION)) { $_SESSION['user_country'] = ($_SESSION['user_host'] and $country_info = get_remote_country($_SESSION['user_host'])) ? $country_info['code'] : ''; $_SESSION['user_tax'] = ($_SESSION['user_host'] and $country_info) ? $country_info['tax'] : ''; $_SESSION['user_region'] = ($_SESSION['user_host'] and $country_info) ? $country_info['region'] : ''; } if(!$modul_content and !isset($content['text'])) header('HTTP/1.1 404 Not Found'); header("Content-Type: text/html; charset=windows-1251"); ?> <?=htmlspecialchars($meta['title'])?>
discount banner
Blog
' : ''; } if (isset($modul_content) and $modul_content) echo $modul_content; elseif ($content) echo '

'.$content['title'].'

'.$content['text']; else require_once ('404.php');?> 'successful-payment' and $mode <> 'pending-payment' and $mode <> 'failed-payment'){?>
Order now */ ?>
X
 
MySQL Error {$n}: ",mysql_error(),"\n"; mysql_close($mysql_database); } else echo "Can't connect to MySQL database"; ?>
Become our VIP CLIENT and Enjoy Privileged Benefits
×
On your first order you will receive 15% discount
Order now PRICES from $12.99/page ×
call-back-button
random_string(4,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'),'user'=>'customwriting2'), array('id'=>random_string(4,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'),'user'=>'customersupport3') ); $chat_key = md5($site_url); foreach ($chats as $i=>$chat) { $chats[$i]['url'] = base64_encode(xor_crypt('//image.providesupport.com/js/' . $chat['user'] . '/safe-standard.js', $chat_key)); $chats[$i]['user'] = base64_encode(xor_crypt($chat['user'], $chat_key)); ?>
Live chat */ ?>