$_POST["email"]); $checklogin = $core ->getaccount($pram); if($checklogin != null){ $contactmessage = "الايميل مسجل بالفعل ."; }else{ $phone = $_POST["countryCode"] . $_POST["phone"]; $pram = array("first_name" => $_POST["first_name"] , "last_name" => $_POST["last_name"] , "ip" => $ip , "email" => $_POST["email"] , "tawasol_packages" => $_POST["tawasol_packages"] , "phone" => $phone , "password" => strtolower($_POST["password"]) , "type" => $_POST["type"] ); $addaccount = $core ->addaccount($pram); if(($addaccount == 1)&&($_POST["type"] == 2)){ $pram = array("all" => 1); $allbusiness = $core ->getbusiness($pram); $num = count($allbusiness) - 1; $lastid = $allbusiness[$num]['id']; $newsid = $lastid + 1; $username = "admin".$newsid; $password = $_POST["password"]; $admin_link = "https://tawasols.com/profile_back/businessview.php?showdetail=&id=".$newsid ; if($_POST["new_sub_category"] != null){ $pram = array("id" => $_POST["sub_category"] ); $sub_category = $core ->getsub_category($pram); $newtags = $sub_category[0]['tags_english'] . " , " . $_POST["new_sub_category"]; $pram = array("name_english" => $_POST["new_sub_category"] , "level" => $_POST["sub_category"] , "icon" => $sub_category[0]['icon'] , "tags_english" => $newtags); $addsub = $core ->addsub_category($pram); if(($addsub == 1)){ $pram = array("all" => 1); $subsub = $core ->getsub_category($pram); $num = count($subsub) - 1; $sub_category = $subsub[$num]['id']; }else{ $sub_category = $_POST["sub_category"]; } }else{ if($_POST["sub_category"] != null){ $sub_category = $_POST["sub_category"][0]; } } $pram = array("main_category" => $_POST["main_category"] , "sub_category" => $sub_category , "name_english" => $_POST["name_english"] , "shop_name" => $_POST["shop_name"] , "email" => $_POST["email"] , "account" => $_POST["account"] , "username" => $username , "password" => $_POST["password"] , "admin_link" => $admin_link ); $addbusiness = $core ->addbusiness($pram); if($addbusiness == 1){ $pram = array("email" => $_POST["email"] , "all" => 1); $business = $core ->getbusiness($pram); if(count($_POST["sub_category"]) > 1){ $travelint6 = 1; while ($travelint6 < count($_POST["sub_category"])){ $pram = array("main_category" => $_POST["main_category"] , "sub_category" => $_POST["sub_category"][$travelint6] , "business" => $business[0]['id'] ); $addbusiness = $core ->addbusiness_sub_category($pram); $travelint6 = $travelint6 + 1; } } $username = "admin".$business[0]['id']; $_SESSION["directory_status_UserProfile_UserName"] = $username; $webid = $business[0]['id']; $password = strtolower($_POST["password"]); $admin_link = "https://tawasols.com/profile_back/businessview.php?showdetail=&id=".$business[0]['id']."&username=".$username."&password=".$password ; $pram = array("username" => $username , "id" => $business[0]['id'] ); $update = $core ->updatebusiness($pram); $text .= "

شكرا لإختيارك منصة تواصل .
يمكنك البدء بإدخال المحتوى والتعديل عليه من خلال لوحة التحكم الخاصة بك من خلال الرابط التالي:
رابط لوحة تحكم
إسم المستخدم: ".$username."
كلمة المرور: ".$password."
"."وسوف يقوم فريق الدعم الفني بمراجعة المحتوى لتفعيل الموقع خلال 48 ساعة من سداد الإشتراك.

"; $text .= "

Thank you for choosing a TAWASOL platform .
You can start entering and modifying the content of the site through your control panel through the following link:
Control Panel Link
Username : ".$username."
Password : ".$password."
The technical support team will review the content to activate the site within 48 hours of paying the subscription.
Best Wishes,
Basma Samir
Senior account manager
Tawasol E-PAY

info@tawasolit.com
+201204722224

"; require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.efia-eg.com"; $mail->SMTPAuth = true; //$mail->SMTPSecure = "ssl"; $mail->Port = 587; $mail->Username = "mail@efia-eg.com"; $mail->Password = "JCrS%^)qc!eH"; $mail->From = "info@tawasolit.com"; $mail->FromName = $name; $emaills = $_POST["email"]; $mail->AddAddress($emaills); //$mail->AddReplyTo("mail@mail.com"); $mail->IsHTML(true); $mail->Subject = "Business account detials"; $mail->Body = $text; //$mail->AltBody = "This is the body in plain text for non-HTML mail clients"; if(!$mail->Send()) { $contactmessage = "Failed for send message"; }else{ $contactmessage = "مبروك
تم تسجيل الموقع الإليكتروني الخاص بك بنجاح!
وتم إرسال رابط لوحة التحكم وبيانات الدخول إلى بريدك الإليكتروني المسجل لدينا.
ويمكنك بدء إدخال المحتوى الخاص بك من الرابط أدناه:"; } } } } }else{ $contactmessage = "برجاء تاكد من كلمة المرور وتاكيدها ."; } } } } if ($_POST["tawasol_packages"] == 4) { if (array_key_exists("email", $_POST)) { if(@$_POST["email"]) { $_SESSION["cpost"]=$_POST; $contactmessage = null; if($_POST["password"] == $_POST["confirmpassword"]) { $pram = array("email" => $_POST["email"]); $checklogin = $core ->getaccount($pram); if($checklogin != null){ $contactmessage = "الايميل مسجل بالفعل ."; }else{ $phone = $_POST["countryCode"] . $_POST["phone"]; $pram = array("first_name" => $_POST["first_name"] , "last_name" => $_POST["last_name"] , "ip" => $ip , "email" => $_POST["email"] , "tawasol_packages" => $_POST["tawasol_packages"] , "phone" => $phone , "password" => strtolower($_POST["password"]) , "type" => $_POST["type"] ); $addaccount = $core ->addaccount($pram); if(($addaccount == 1)&&($_POST["type"] == 2)){ $pram = array("all" => 1); $allbusiness = $core ->getbusiness($pram); $num = count($allbusiness) - 1; $lastid = $allbusiness[$num]['id']; $newsid = $lastid + 1; $username = "admin".$newsid; $password = $_POST["password"]; $admin_link = "https://tawasols.com/directory_back/businessview.php?showdetail=&id=".$newsid ; if($_POST["new_sub_category"] != null){ $pram = array("id" => $_POST["sub_category"] ); $sub_category = $core ->getsub_category($pram); $newtags = $sub_category[0]['tags_english'] . " , " . $_POST["new_sub_category"]; $pram = array("name_english" => $_POST["new_sub_category"] , "level" => $_POST["sub_category"] , "icon" => $sub_category[0]['icon'] , "tags_english" => $newtags); $addsub = $core ->addsub_category($pram); if(($addsub == 1)){ $pram = array("all" => 1); $subsub = $core ->getsub_category($pram); $num = count($subsub) - 1; $sub_category = $subsub[$num]['id']; }else{ $sub_category = $_POST["sub_category"]; } }else{ if($_POST["sub_category"] != null){ $sub_category = $_POST["sub_category"][0]; } } $pram = array("main_category" => $_POST["main_category"] , "sub_category" => $sub_category , "name_english" => $_POST["name_english"] , "shop_name" => $_POST["shop_name"] , "email" => $_POST["email"] , "account" => $_POST["account"] , "username" => $username , "password" => $_POST["password"] , "admin_link" => $admin_link ); $addbusiness = $core ->addbusiness($pram); if($addbusiness == 1){ $pram = array("email" => $_POST["email"] , "all" => 1); $business = $core ->getbusiness($pram); if(count($_POST["sub_category"]) > 1){ $travelint6 = 1; while ($travelint6 < count($_POST["sub_category"])){ $pram = array("main_category" => $_POST["main_category"] , "sub_category" => $_POST["sub_category"][$travelint6] , "business" => $business[0]['id'] ); $addbusiness = $core ->addbusiness_sub_category($pram); $travelint6 = $travelint6 + 1; } } $username = "admin".$business[0]['id']; $_SESSION["directory_status_UserProfile_UserName"] = $username; $webid = $business[0]['id']; $password = strtolower($_POST["password"]); $admin_link = "https://tawasols.com/directory_back/businessview.php?showdetail=&id=".$business[0]['id']."&username=".$username."&password=".$password ; $pram = array("username" => $username , "id" => $business[0]['id'] ); $update = $core ->updatebusiness($pram); $text .= "

شكرا لإختيارك منصة تواصل .
يمكنك البدء بإدخال المحتوى والتعديل عليه من خلال لوحة التحكم الخاصة بك من خلال الرابط التالي:
رابط لوحة تحكم
إسم المستخدم: ".$username."
كلمة المرور: ".$password."
"."وسوف يقوم فريق الدعم الفني بمراجعة المحتوى لتفعيل الموقع خلال 48 ساعة من سداد الإشتراك.

"; $text .= "

Thank you for choosing a TAWASOL platform .
You can start entering and modifying the content of the site through your control panel through the following link:
Control Panel Link
Username : ".$username."
Password : ".$password."
The technical support team will review the content to activate the site within 48 hours of paying the subscription.
Best Wishes,
Basma Samir
Senior account manager
Tawasol E-PAY

info@tawasolit.com
+201204722224

"; require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.efia-eg.com"; $mail->SMTPAuth = true; //$mail->SMTPSecure = "ssl"; $mail->Port = 587; $mail->Username = "mail@efia-eg.com"; $mail->Password = "JCrS%^)qc!eH"; $mail->From = "info@tawasolit.com"; $mail->FromName = $name; $emaills = $_POST["email"]; $mail->AddAddress($emaills); //$mail->AddReplyTo("mail@mail.com"); $mail->IsHTML(true); $mail->Subject = "Business account detials"; $mail->Body = $text; //$mail->AltBody = "This is the body in plain text for non-HTML mail clients"; if(!$mail->Send()) { $contactmessage = "Failed for send message"; }else{ $contactmessage = "مبروك
تم تسجيل الموقع الإليكتروني الخاص بك بنجاح!
وتم إرسال رابط لوحة التحكم وبيانات الدخول إلى بريدك الإليكتروني المسجل لدينا.
ويمكنك بدء إدخال المحتوى الخاص بك من الرابط أدناه:"; } } } } }else{ $contactmessage = "برجاء تاكد من كلمة المرور وتاكيدها ."; } } } } ?>

انشاء حساب

0){ ?>

ابدا في ادخال المحتوي

دليل اﻷعمال

50 جنيه

بيانات النشاط

بيانات اﻷتصال

العنوان والخريطة

السوشيال ميديا

عربي / انجليزي

نموذج

بروفايل اﻷعمال

200 جنيه

مميزات دليل اﻷعمال

صفحة ويب

تعريف النشاط

صورة بانر

كلمات دلالية

نموذج
?account="" name="contactForm" >
value=" placeholder="البريد الإليكتروني *" required > value="0"value="">

value=" id="password" placeholder="ادخل كلمة المرور 8 أحرف و على الأقل ورمز واحد *" required>

value=" placeholder="الاسم الاول">
value=" placeholder="الاسم الثاني">
value=" placeholder="الموبايل">
value=" id="shop_name" placeholder="اسم الموقع">
تأكد من الإتاحة

*/ ?>
*/?>

value=" id="shop_name" placeholder="اسم البروفايل">
تأكد من الإتاحة


I am customer */ ?>
Choose item
First item
Second item
Third item
Fourth item
Fifth item
Sixth item
Eight item
Ninth item
Tenth item
*/ ?>



sucessful !