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_popup2.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-1025 - 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");
@@ -213,7 +214,7 @@ if (eregi('CL_UNIV',$channel_group))
}
}
</script>
<?
<?php
}
else
{
@@ -226,7 +227,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='" . mysql_real_escape_string($server_ip) . "' and channel='" . mysql_real_escape_string($customer_zap_channel) . "'";
$rslt=mysql_query($stmt, $link);
@@ -315,17 +316,17 @@ if (eregi('CL',$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="<?=$closer ?>">
<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 $closer ?>">
<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="<?=$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>
@@ -333,7 +334,7 @@ if (eregi('CL',$channel_group))
</table>
</form>
<BR><BR>
<?
<?php
}
@@ -349,10 +350,10 @@ if (eregi('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>
@@ -381,7 +382,7 @@ if (eregi('UNIV',$channel_group))
</form>
<?
<?php
}
@@ -417,7 +418,7 @@ echo "<font size=0>\n\n\n<br><br><br>\nscript runtime: $RUNtime seconds</font>";
</body>
</html>
<?
<?php
exit;