'a', 'Ä™' => 'e', 'ı›' => 's', 'ć' => 'c', 'Ăł' => 'o', 'ı‵' => 'n', 'ıĽ' => 'z', 'ıť' => 'z', 'ı‱' => 'l', 'Ä‵' => 'A', 'Ę' => 'E', 'ıš' => 'S', 'Ć' => 'C', 'Ă‶' => 'O', 'ıƒ' => 'N', 'ı»' => 'Z', 'ıą' => 'Z', 'ı' => 'L' ); return str_replace(array_keys($aReplacePL), array_values($aReplacePL), $sText); } function seourl($sText) { // pozbywamy siÄ™ polskich znakĂłw diakrytycznych $sText = clearDiacritics($sText); // dla przejrzystoı›ci wszystko z maı‱ych liter $sText = strtolower($sText); // wszystkie spacje zamieniamy na myı›lniki $sText = str_replace(' ', '-', $sText); // usuı‵ wszytko co jest niedozwolonym znakiem $sText = preg_replace('/[^0-9a-z\-]+/', '', $sText); // zredukuj liczbÄ™ myı›lnikĂłw do jednego obok siebie $sText = preg_replace('/[\-]+/', '-', $sText); // usuwamy moıĽliwe myı›lniki na poczÄ…tku i koı‵cu $sText = trim($sText, '-'); // wszystkie spacje zamieniamy na myı›lniki $sText = str_replace('-', '_', $sText); return $sText; } ?> Virtuleo Registration
'; print_r($_SESSION); echo 'LOGOUT'; echo '
'; } // client status bar if ($_GET[action] && $_SESSION[status]==1) { echo '
'; echo 'Account: '.$_SESSION[firstname].' '.$_SESSION[lastname].' | LOGOUT'; echo '
'; } // end of status bar // ------------------------------------------------------------------------------------------------------ // MAIN action panel if ($_GET[action] && $_SESSION[status]==1) { echo '
 
PREVIEW
CONFIGURATION
'; // ------------------------------------ // ------------------------------------ $q="SELECT * FROM menu where cid=$_SESSION[uid] ORDER BY `order` ASC;"; $sql2=mysql_query($q); while ($r=mysql_fetch_array($sql2, MYSQL_BOTH)) { if ($_GET[section]==$r['link']) $o='1'; else $o='0.5'; /* */ echo '
'.$r[caption].'
'; } echo '
'; } //---------------------------------------------------------------------------- if ($_GET[action]=='dashboard') { echo '

Your Website Configuration

'; echo '

'; } //---------------------------------------------------------------------------- if ($_GET[action]=='editsection') { $q="SELECT * FROM menu where cid=$_SESSION[uid] and link='$_GET[section]'"; $sql2=mysql_query($q); $r=mysql_fetch_array($sql2, MYSQL_BOTH); echo '

You\'re edditing: '.$r[caption].' section of your website

'; echo '
SAVE
'; // saves form data to database before displaying if ($_POST[saved]==1) { foreach( $_POST[form] as $key => $value){ //echo "ID: $key, V: $value
"; $q="UPDATE configuration set value='$value' where setting_id=$key"; mysql_query($q); } } // end --- // automaticaly pulls fields from database --- echo '
'; echo ''; if ($_POST[saved]==1) echo '
Section saved
'; $q="SELECT * FROM menu where cid=$_SESSION[uid] and link='$_GET[section]'"; $sql2=mysql_query($q); $rr=mysql_fetch_array($sql2, MYSQL_BOTH); $q="SELECT * FROM configuration where cid=$_SESSION[uid] and section='$rr[anchor]' ORDER BY `order` ASC;"; $sql2=mysql_query($q); while ($r=mysql_fetch_array($sql2, MYSQL_BOTH)) { echo '
'.$r[caption].'    
'; } echo '
';
echo '
'; echo '
'; } // end of action panel // ------------------------------------------------------------------------------------------------------ //echo '
';
//print_r($_POST);
//echo '
'; if ($_POST and $_POST[password]==$_POST[password2] && $_POST[password] && $_POST[fullname] && $_POST[email] && $_POST[terms]=='on') { $name=explode(' ',$_POST[fullname]); echo '

Thank you '.$name[0].'.

'; $sd=seourl($_POST[fullname]); $q="insert into customer values (null, 0, '$sd','','$_POST[email]', md5('$_POST[password]'), NOW(),1, '$_POST[fullname]','v1', '$_POST[coupon]');"; mysql_query($q); //echo $q; if ($_POST[coupon]=='v50' || $_POST[coupon]=='jm50' || $_POST[coupon]=='cl50' || $_POST[coupon]=='CL50' || $_POST[coupon]=='rg50' || $_POST[coupon]=='RG50' || $_POST[coupon]=='fb50' || $_POST[coupon]=='FB50' || $_POST[coupon]=='kf50' || $_POST[coupon]=='KF50' || $_POST[coupon]=='dk50' || $_POST[coupon]=='DK50' || $_POST[coupon]=='ab50' || $_POST[coupon]=='AB50') { echo '

Now please make a payment of $249 (coupon for $50 off applied!)
via PayPal to activate your account

'; echo '

Virtuleo.com is the property of WebsitesFL Inc. All payments are collected by WebsitesFL Inc.

'; } else { if ($_POST[coupon]=='CORONAHELP') { echo '

Coupon code CORONAHELP for $100 off applied!
Now please make a payment of $199 via PayPal to activate your account

'; echo '

Virtuleo.com is the property of WebsitesFL Inc. All payments are collected by WebsitesFL Inc.

'; } else { echo '

Now please make a payment of $299 via PayPal to activate your account

'; echo '

Virtuleo.com is the property of WebsitesFL Inc. All payments are collected by WebsitesFL Inc.

'; } } echo '
Secured by PayPal

websites fl '; } /* if (!$_POST && !$_GET[action] && $_SESSION[staus]<>1) { */ if (!$_POST || $_POST[password]<>$_POST[password2] || !$_POST[password] || !$_POST[fullname] || !$_POST[email] || $_POST[terms]<>'on') { ?>

Please put some basic information first to start the registration process

$_POST[password2]) { echo "
Password doesn't match. Please try again.


"; $_POST[password]=''; $_POST[password2]=''; } if ($_POST && $_POST[terms]<>'on') { echo "
Please accept our Terms of Use and Privacy Policy


"; $_POST[password]=''; $_POST[password2]=''; } ?>