diff --git a/agc_2-X/trunk/www/vicidial/admin_search_lead.php b/agc_2-X/trunk/www/vicidial/admin_search_lead.php index f771339b..555b36ad 100644 --- a/agc_2-X/trunk/www/vicidial/admin_search_lead.php +++ b/agc_2-X/trunk/www/vicidial/admin_search_lead.php @@ -109,7 +109,7 @@ if ( (!$vendor_id) and (!$phone) and (!$lead_id) ) echo "
\n"; echo "\n"; echo "Please enter a:
Vendor ID(vendor lead code): or \n"; - echo "
a Home Phone Number: or\n"; + echo "
a Home Phone Number: or\n"; echo "
a lead ID:

\n"; echo "
\n"; echo "\n\n"; diff --git a/agc_2-X/trunk/www/vicidial/web_form_forward.php b/agc_2-X/trunk/www/vicidial/web_form_forward.php new file mode 100644 index 00000000..af108fc3 --- /dev/null +++ b/agc_2-X/trunk/www/vicidial/web_form_forward.php @@ -0,0 +1,37 @@ + LICENSE: AGPLv2 +# +# You will need to customize this to your needs +# +# CHANGELOG: +# 80626-1121 - First Build +# + +if (isset($_GET["phone_number"])) {$phone_number=$_GET["phone_number"];} +if (isset($_GET["source_id"])) {$source_id=$_GET["source_id"];} +if (isset($_GET["user"])) {$user=$_GET["user"];} + +require("dbconnect.php"); + +$stmt="SELECT full_name from vicidial_users where user='$user';"; +$rslt=mysql_query($stmt, $link); +$row=mysql_fetch_row($rslt); +$fullname=$row[0]; + +$URL = "http://astguiclient.sf.net/test.php?userid=$user&phone=$phone_number&Rep=$fullname&source_id=$source_id"; + +header("Location: $URL"); +#exit; +echo"\n"; +echo"Group1\n"; +echo"\n"; +echo"\n"; +echo"\n"; +echo"\n"; +echo"click here to continue. . .\n"; +echo"\n"; + + +?>