Changed all PHP tags to long tags

Added Call Menu feature

git-svn-id: svn://192.168.202.10@1111 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2009-05-08 12:08:02 +00:00
parent 3b2f5d1d9a
commit f2f9e387f4
91 changed files with 2286 additions and 1293 deletions
@@ -1,13 +1,14 @@
<?
<?php
# closer-fronter_popup.php
#
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2009 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# this is the closer popup of a specific call that starts recording the call and allows you to go and fetch info on that caller in the local CRM system.
# CHANGES
#
# 60620-1020 - Added variable filtering to eliminate SQL injection attack threat
# 61201-1114 - Added lead_id and user to recording_log entry
# 90508-0644 - Changed to PHP long tags
#
require("dbconnect.php");
@@ -199,7 +200,7 @@ if (eregi('CL_UNIV',$channel_group))
}
}
</script>
<?
<?php
}
else
{
@@ -212,7 +213,7 @@ else
<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0 onLoad="document.forms[0].search_phone.focus(); setTimeout('document.forms[0].search_phone.focus()', 1000); self.focus()">
<CENTER><FONT FACE="Courier" COLOR=BLACK SIZE=3>
<?
<?php
$stmt="SELECT count(*) from live_channels where server_ip='$server_ip' and channel='$customer_zap_channel'";
$rslt=mysql_query($stmt, $link);
@@ -296,17 +297,17 @@ if (eregi('CL_TEST',$channel_group))
?>
<form action="http://10.10.10.196/vicidial/closer_lookup3.php" method="post">
<input type=hidden name="fronter" value="<?=$fronter ?>">
<input type=hidden name="closer" value="<?=$user ?>">
<input type=hidden name="group" value="<?=$channel_group ?>">
<input type=hidden name="recording_id" value="<?=$recording_id ?>">
<input type=hidden name="fronter" value="<?php echo $fronter ?>">
<input type=hidden name="closer" value="<?php echo $user ?>">
<input type=hidden name="group" value="<?php echo $channel_group ?>">
<input type=hidden name="recording_id" value="<?php echo $recording_id ?>">
<table border=0 cellspacing=5 cellpadding=3 align=center width=90%>
<tr>
<th colspan=2 bgcolor='#666666'><font class='standard_bold' color='white'>COF MW Customer Search</font></th>
</tr>
<tr bgcolor='#99FF99'>
<td align=right width="50%" nowrap><font class='standard_bold'>Phone number</font></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?=$search_phone ?>"></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?php echo $search_phone ?>"></td>
</tr>
<tr>
<th colspan=2 bgcolor='#666666'><input type=submit name="submit_COF" value="SEARCH"></th>
@@ -314,7 +315,7 @@ if (eregi('CL_TEST',$channel_group))
</table>
</form>
<BR><BR>
<?
<?php
}
if ( (eregi('CL_MWCOF',$channel_group)) or (eregi('MWCOF',$group)) or (eregi('TESTCAMP',$group)))
@@ -331,17 +332,17 @@ if ( (eregi('CL_MWCOF',$channel_group)) or (eregi('MWCOF',$group)) or (eregi('TE
?>
<form action="http://10.10.99.2/vicidial/closer_lookup4.php" method="post">
<input type=hidden name="fronter" value="<?=$fronter ?>">
<input type=hidden name="closer" value="<?=$user ?>">
<input type=hidden name="group" value="<?=$channel_group ?>">
<input type=hidden name="recording_id" value="<?=$recording_id ?>">
<input type=hidden name="fronter" value="<?php echo $fronter ?>">
<input type=hidden name="closer" value="<?php echo $user ?>">
<input type=hidden name="group" value="<?php echo $channel_group ?>">
<input type=hidden name="recording_id" value="<?php echo $recording_id ?>">
<table border=0 cellspacing=5 cellpadding=3 align=center width=90%>
<tr>
<th colspan=2 bgcolor='#666666'><font class='standard_bold' color='white'>COF MW Customer Search</font></th>
</tr>
<tr bgcolor='#99FF99'>
<td align=right width="50%" nowrap><font class='standard_bold'>Phone number</font></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?=$search_phone ?>"></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?php echo $search_phone ?>"></td>
</tr>
<tr>
<th colspan=2 bgcolor='#666666'><input type=submit name="submit_COF" value="SEARCH"></th>
@@ -349,7 +350,7 @@ if ( (eregi('CL_MWCOF',$channel_group)) or (eregi('MWCOF',$group)) or (eregi('TE
</table>
</form>
<BR><BR>
<?
<?php
}
@@ -383,17 +384,17 @@ if (eregi('CL_GAL',$channel_group))
?>
<form action="http://10.10.99.2/vicidial/closer_lookup4.php" method="post">
<input type=hidden name="fronter" value="<?=$parked_by ?>">
<input type=hidden name="closer" value="<?=$user ?>">
<input type=hidden name="group" value="<?=$channel_group ?>">
<input type=hidden name="recording_id" value="<?=$recording_id ?>">
<input type=hidden name="fronter" value="<?php echo $parked_by ?>">
<input type=hidden name="closer" value="<?php echo $user ?>">
<input type=hidden name="group" value="<?php echo $channel_group ?>">
<input type=hidden name="recording_id" value="<?php echo $recording_id ?>">
<table border=0 cellspacing=5 cellpadding=3 align=center width=90%>
<tr>
<th colspan=2 bgcolor='#666666'><font class='standard_bold' color='white'>COF MW Customer Search</font></th>
</tr>
<tr bgcolor="<?=$group_color ?>">
<tr bgcolor="<?php echo $group_color ?>">
<td align=right width="50%" nowrap><font class='standard_bold'>Phone number</font></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?=$phone ?>"></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?php echo $phone ?>"></td>
</tr>
<tr>
<th colspan=2 bgcolor='#666666'><input type=submit name="submit_COF" value="SEARCH"></th>
@@ -404,15 +405,15 @@ if (eregi('CL_GAL',$channel_group))
<!----
<form action="http://10.10.10.196/vicidial/closer_lookup3.php" method="post">
<input type=hidden name="fronter" value="<?=$parked_by ?>">
<input type=hidden name="closer" value="<?=$user ?>">
<input type=hidden name="fronter" value="<?php echo $parked_by ?>">
<input type=hidden name="closer" value="<?php echo $user ?>">
<table border=0 cellspacing=5 cellpadding=3 align=center width=90%>
<tr>
<th colspan=2 bgcolor='#666666'><font class='standard_bold' color='white'>NEW COF BlueGreen Customer Search</font></th>
</tr>
<tr bgcolor='#CCCCCC'>
<td align=right width="50%" nowrap><font class='standard_bold'>Phone number</font></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?=$phone ?>"></td>
<td align=left width="50%" nowrap><input type=text size=10 maxlength=10 name="search_phone" value="<?php echo $phone ?>"></td>
</tr>
<tr>
<th colspan=2 bgcolor='#666666'><input type=submit name="submit_COF" value="SEARCH"></th>
@@ -422,7 +423,7 @@ if (eregi('CL_GAL',$channel_group))
<BR><BR>
---->
<?
<?php
}
@@ -434,10 +435,10 @@ if (eregi('CL_UNIV',$channel_group))
?>
<form action="uk_mail_lookup.php" method="post" onSubmit="return CheckForm()">
<input type=hidden name="fronter" value="<?=$parked_by ?>">
<input type=hidden name="closer" value="<?=$user ?>">
<input type=hidden name="group" value="<?=$channel_group ?>">
<input type=hidden name="recording_id" value="<?=$recording_id ?>">
<input type=hidden name="fronter" value="<?php echo $parked_by ?>">
<input type=hidden name="closer" value="<?php echo $user ?>">
<input type=hidden name="group" value="<?php echo $channel_group ?>">
<input type=hidden name="recording_id" value="<?php echo $recording_id ?>">
<table border=0 width=80% cellpadding=5 cellspacing=0 align=center>
<tr>
<th colspan=2 bgcolor='#CCCCCC'><font class='standard_bold'>New Search</font></th>
@@ -466,7 +467,7 @@ if (eregi('CL_UNIV',$channel_group))
</form>
<?
<?php
}
@@ -502,7 +503,7 @@ echo "<font size=0>\n\n\n<br><br><br>\nscript runtime: $RUNtime seconds</font>";
</body>
</html>
<?
<?php
exit;