| 64 | | $months = array('01' => 'January', '02' => 'February', '03' => 'March', '04' => 'April', '05' => 'May', '06' => 'June', '07' => 'July', '08' => 'August', '09' => 'September', '10' => 'October', '11' => 'November', '12' => 'December'); |
|---|
| 65 | | foreach ($months as $i => $month) { |
|---|
| 66 | | if ((empty($_POST['startmonth']) && date('m') == $i) || (isset($_POST['startmonth']) && $_POST['startmonth'] == $i)) { |
|---|
| 67 | | echo " <option value=\"$i\" selected=\"selected\">$month</option>\n"; |
|---|
| 68 | | } else { |
|---|
| 69 | | echo " <option value=\"$i\">$month</option>\n"; |
|---|
| 70 | | } |
|---|
| 71 | | } |
|---|
| | 66 | $months = array('01' => _('January'), '02' => _('February'), '03' => _('March'), '04' => _('April'), '05' => _('May'), '06' => _('June'), '07' => _('July'), '08' => _('August'), '09' => _('September'), '10' => _('October'), '11' => _('November'), '12' => _('December')); |
|---|
| | 67 | foreach ($months as $i => $month) { |
|---|
| | 68 | if ((empty($_POST['startmonth']) && date('m') == $i) || (isset($_POST['startmonth']) && $_POST['startmonth'] == $i)) { |
|---|
| | 69 | echo "<option value=\"$i\" selected=\"selected\">$month</option>\n"; |
|---|
| | 70 | } else { |
|---|
| | 71 | echo "<option value=\"$i\">$month</option>\n"; |
|---|
| | 72 | } |
|---|
| | 73 | } |
|---|
| 76 | | for ( $i = 2000; $i <= date('Y'); $i++) { |
|---|
| 77 | | if ((empty($_POST['startyear']) && date('Y') == $i) || (isset($_POST['startyear']) && $_POST['startyear'] == $i)) { |
|---|
| 78 | | echo " <option value=\"$i\" selected=\"selected\">$i</option>\n"; |
|---|
| 79 | | } else { |
|---|
| 80 | | echo " <option value=\"$i\">$i</option>\n"; |
|---|
| 81 | | } |
|---|
| 82 | | } |
|---|
| | 78 | for ( $i = 2000; $i <= date('Y'); $i++) { |
|---|
| | 79 | if ((empty($_POST['startyear']) && date('Y') == $i) || (isset($_POST['startyear']) && $_POST['startyear'] == $i)) { |
|---|
| | 80 | echo "<option value=\"$i\" selected=\"selected\">$i</option>\n"; |
|---|
| | 81 | } else { |
|---|
| | 82 | echo "<option value=\"$i\">$i</option>\n"; |
|---|
| | 83 | } |
|---|
| | 84 | } |
|---|
| 84 | | </select> |
|---|
| 85 | | <input type="text" name="starthour" id="starthour" size="2" maxlength="2" value="<?php if (isset($_POST['starthour'])) { echo $_POST['starthour']; } else { echo '00'; } ?>" /> |
|---|
| 86 | | : |
|---|
| 87 | | <input type="text" name="startmin" id="startmin" size="2" maxlength="2" value="<?php if (isset($_POST['startmin'])) { echo $_POST['startmin']; } else { echo '00'; } ?>" /> |
|---|
| 88 | | To: |
|---|
| 89 | | <input type="text" name="endday" id="endday" size="2" maxlength="2" value="<?php if (isset($_POST['endday'])) { echo $_POST['endday']; } else { echo '31'; } ?>" /> |
|---|
| 90 | | <select name="endmonth" id="endmonth"> |
|---|
| | 86 | </select> |
|---|
| | 87 | <input type="text" name="starthour" id="starthour" size="2" maxlength="2" value="<?php if (isset($_POST['starthour'])) { echo $_POST['starthour']; } else { echo '00'; } ?>" />: |
|---|
| | 88 | <input type="text" name="startmin" id="startmin" size="2" maxlength="2" value="<?php if (isset($_POST['startmin'])) { echo $_POST['startmin']; } else { echo '00'; } ?>" /><?php echo _("To")?>: |
|---|
| | 89 | <input type="text" name="endday" id="endday" size="2" maxlength="2" value="<?php if (isset($_POST['endday'])) { echo $_POST['endday']; } else { echo '31'; } ?>" /> |
|---|
| | 90 | <select name="endmonth" id="endmonth"> |
|---|
| 92 | | foreach ($months as $i => $month) { |
|---|
| 93 | | if ((empty($_POST['endmonth']) && date('m') == $i) || (isset($_POST['endmonth']) && $_POST['endmonth'] == $i)) { |
|---|
| 94 | | echo " <option value=\"$i\" selected=\"selected\">$month</option>\n"; |
|---|
| 95 | | } else { |
|---|
| 96 | | echo " <option value=\"$i\">$month</option>\n"; |
|---|
| 97 | | } |
|---|
| 98 | | } |
|---|
| | 92 | foreach ($months as $i => $month) { |
|---|
| | 93 | if ((empty($_POST['endmonth']) && date('m') == $i) || (isset($_POST['endmonth']) && $_POST['endmonth'] == $i)) { |
|---|
| | 94 | echo "<option value=\"$i\" selected=\"selected\">$month</option>\n"; |
|---|
| | 95 | } else { |
|---|
| | 96 | echo "<option value=\"$i\">$month</option>\n"; |
|---|
| | 97 | } |
|---|
| | 98 | } |
|---|
| 123 | | <input <?php if ( (empty($_POST['need_html']) && empty($_POST['need_chart']) && empty($_POST['need_chart_cc']) && empty($_POST['need_csv'])) || ( ! empty($_POST['need_html']) && $_POST['need_html'] == 'true' ) ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_html" value="true" /> : CDR search<br /> |
|---|
| 124 | | <input <?php if ( ! empty($_POST['need_csv']) && $_POST['need_csv'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_csv" value="true" /> : CSV file<br/> |
|---|
| 125 | | <input <?php if ( ! empty($_POST['need_chart']) && $_POST['need_chart'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_chart" value="true" /> : Call Graph<br /> |
|---|
| 126 | | <input <?php if ( ! empty($_POST['need_chart_cc']) && $_POST['need_chart_cc'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_chart_cc" value="true" /> : Concurent Calls<br /> |
|---|
| 127 | | </td> |
|---|
| 128 | | </tr> |
|---|
| 129 | | <tr> |
|---|
| 130 | | <td><label for="Result limit">Result limit : </label></td> |
|---|
| | 122 | <input <?php if ( (empty($_POST['need_html']) && empty($_POST['need_chart']) && empty($_POST['need_chart_cc']) && empty($_POST['need_csv'])) || ( ! empty($_POST['need_html']) && $_POST['need_html'] == 'true' ) ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_html" value="true" /> : <?php echo _("CDR search")?><br /> |
|---|
| | 123 | <input <?php if ( ! empty($_POST['need_csv']) && $_POST['need_csv'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_csv" value="true" /> : <?php echo _("CSV file")?><br/> |
|---|
| | 124 | <input <?php if ( ! empty($_POST['need_chart']) && $_POST['need_chart'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_chart" value="true" /> : <?php echo _("Call Graph")?><br /> |
|---|
| | 125 | <input <?php if ( ! empty($_POST['need_chart_cc']) && $_POST['need_chart_cc'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="need_chart_cc" value="true" /> : <?php echo _("Concurrent Calls")?><br /> |
|---|
| | 126 | </td> |
|---|
| | 127 | </tr> |
|---|
| | 128 | <tr> |
|---|
| | 129 | <td><label for="Result limit"><?php echo _("Result limit")?> : </label></td> |
|---|
| 147 | | Not:<input <?php if ( isset($_POST['channel_neg'] ) && $_POST['channel_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="channel_neg" value="true" /> |
|---|
| 148 | | Begins With:<input <?php if (empty($_POST['channel_mod']) || $_POST['channel_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="begins_with" /> |
|---|
| 149 | | Contains:<input <?php if (isset($_POST['channel_mod']) && $_POST['channel_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="contains" /> |
|---|
| 150 | | Ends With:<input <?php if (isset($_POST['channel_mod']) && $_POST['channel_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="ends_with" /> |
|---|
| 151 | | Exactly:<input <?php if (isset($_POST['channel_mod']) && $_POST['channel_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="exact" /> |
|---|
| 152 | | </td> |
|---|
| 153 | | </tr> |
|---|
| 154 | | <tr> |
|---|
| 155 | | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'src') { echo 'checked="checked"'; } ?> type="radio" name="order" value="src" /> <label for="src">Source:</label></td> |
|---|
| | 146 | <?php echo _("Not")?>:<input <?php if ( isset($_POST['channel_neg'] ) && $_POST['channel_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="channel_neg" value="true" /> |
|---|
| | 147 | <?php echo _("Begins With")?>:<input <?php if (empty($_POST['channel_mod']) || $_POST['channel_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="begins_with" /> |
|---|
| | 148 | <?php echo _("Contains")?>:<input <?php if (isset($_POST['channel_mod']) && $_POST['channel_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="contains" /> |
|---|
| | 149 | <?php echo _("Ends With")?>:<input <?php if (isset($_POST['channel_mod']) && $_POST['channel_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="ends_with" /> |
|---|
| | 150 | <?php echo _("Exactly")?>:<input <?php if (isset($_POST['channel_mod']) && $_POST['channel_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="channel_mod" value="exact" /> |
|---|
| | 151 | </td> |
|---|
| | 152 | </tr> |
|---|
| | 153 | <tr> |
|---|
| | 154 | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'src') { echo 'checked="checked"'; } ?> type="radio" name="order" value="src" /> <label for="src"><?php echo _("Source")?>:</label></td> |
|---|
| 157 | | Not:<input <?php if ( isset($_POST['src_neg'] ) && $_POST['src_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="src_neg" value="true" /> |
|---|
| 158 | | Begins With:<input <?php if (empty($_POST['src_mod']) || $_POST['src_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="begins_with" /> |
|---|
| 159 | | Contains:<input <?php if (isset($_POST['src_mod']) && $_POST['src_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="contains" /> |
|---|
| 160 | | Ends With:<input <?php if (isset($_POST['src_mod']) && $_POST['src_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="ends_with" /> |
|---|
| 161 | | Exactly:<input <?php if (isset($_POST['src_mod']) && $_POST['src_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="exact" /> |
|---|
| 162 | | </td> |
|---|
| 163 | | </tr> |
|---|
| 164 | | <tr> |
|---|
| 165 | | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'clid') { echo 'checked="checked"'; } ?> type="radio" name="order" value="clid" /> <label for="clid">Caller*ID</label></td> |
|---|
| | 156 | <?php echo _("Not")?>:<input <?php if ( isset($_POST['src_neg'] ) && $_POST['src_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="src_neg" value="true" /> |
|---|
| | 157 | <?php echo _("Begins With")?>:<input <?php if (empty($_POST['src_mod']) || $_POST['src_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="begins_with" /> |
|---|
| | 158 | <?php echo _("Contains")?>:<input <?php if (isset($_POST['src_mod']) && $_POST['src_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="contains" /> |
|---|
| | 159 | <?php echo _("Ends With")?>:<input <?php if (isset($_POST['src_mod']) && $_POST['src_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="ends_with" /> |
|---|
| | 160 | <?php echo _("Exactly")?>:<input <?php if (isset($_POST['src_mod']) && $_POST['src_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="src_mod" value="exact" /> |
|---|
| | 161 | </td> |
|---|
| | 162 | </tr> |
|---|
| | 163 | <tr> |
|---|
| | 164 | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'clid') { echo 'checked="checked"'; } ?> type="radio" name="order" value="clid" /> <label for="clid"><?php echo _("CallerID")?></label></td> |
|---|
| 167 | | Not:<input <?php if ( isset($_POST['clid_neg'] ) && $_POST['clid_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="clid_neg" value="true" /> |
|---|
| 168 | | Begins With:<input <?php if (empty($_POST['clid_mod']) || $_POST['clid_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="begins_with" /> |
|---|
| 169 | | Contains:<input <?php if (isset($_POST['clid_mod']) && $_POST['clid_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="contains" /> |
|---|
| 170 | | Ends With:<input <?php if (isset($_POST['clid_mod']) && $_POST['clid_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="ends_with" /> |
|---|
| 171 | | Exactly:<input <?php if (isset($_POST['clid_mod']) && $_POST['clid_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="exact" /> |
|---|
| 172 | | </td> |
|---|
| 173 | | </tr> |
|---|
| 174 | | <tr> |
|---|
| 175 | | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dstchannel') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dstchannel" /> <label for="dstchannel">Dst channel:</label></td> |
|---|
| | 166 | <?php echo _("Not")?>:<input <?php if ( isset($_POST['clid_neg'] ) && $_POST['clid_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="clid_neg" value="true" /> |
|---|
| | 167 | <?php echo _("Begins With")?>:<input <?php if (empty($_POST['clid_mod']) || $_POST['clid_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="begins_with" /> |
|---|
| | 168 | <?php echo _("Contains")?>:<input <?php if (isset($_POST['clid_mod']) && $_POST['clid_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="contains" /> |
|---|
| | 169 | <?php echo _("Ends With")?>:<input <?php if (isset($_POST['clid_mod']) && $_POST['clid_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="ends_with" /> |
|---|
| | 170 | <?php echo _("Exactly")?>:<input <?php if (isset($_POST['clid_mod']) && $_POST['clid_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="clid_mod" value="exact" /> |
|---|
| | 171 | </td> |
|---|
| | 172 | </tr> |
|---|
| | 173 | <tr> |
|---|
| | 174 | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dstchannel') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dstchannel" /> <label for="dstchannel"><?php echo _("Dst Channel")?>:</label></td> |
|---|
| 177 | | Not:<input <?php if ( isset($_POST['dstchannel_neg'] ) && $_POST['dstchannel_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="dstchannel_neg" value="true" /> |
|---|
| 178 | | Begins With:<input <?php if (empty($_POST['dstchannel_mod']) || $_POST['dstchannel_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="begins_with" /> |
|---|
| 179 | | Contains:<input <?php if (isset($_POST['dstchannel_mod']) && $_POST['dstchannel_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="contains" /> |
|---|
| 180 | | Ends With:<input <?php if (isset($_POST['dstchannel_mod']) && $_POST['dstchannel_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="ends_with" /> |
|---|
| 181 | | Exactly:<input <?php if (isset($_POST['dstchannel_mod']) && $_POST['dstchannel_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="exact" /> |
|---|
| 182 | | </td> |
|---|
| 183 | | </tr> |
|---|
| 184 | | <tr> |
|---|
| 185 | | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dst') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dst" /> <label for="dst">Destination:</label></td> |
|---|
| | 176 | <?php echo _("Not")?>:<input <?php if ( isset($_POST['dstchannel_neg'] ) && $_POST['dstchannel_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="dstchannel_neg" value="true" /> |
|---|
| | 177 | <?php echo _("Begins With")?>:<input <?php if (empty($_POST['dstchannel_mod']) || $_POST['dstchannel_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="begins_with" /> |
|---|
| | 178 | <?php echo _("Contains")?>:<input <?php if (isset($_POST['dstchannel_mod']) && $_POST['dstchannel_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="contains" /> |
|---|
| | 179 | <?php echo _("Ends With")?>:<input <?php if (isset($_POST['dstchannel_mod']) && $_POST['dstchannel_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="ends_with" /> |
|---|
| | 180 | <?php echo _("Exactly")?>:<input <?php if (isset($_POST['dstchannel_mod']) && $_POST['dstchannel_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="dstchannel_mod" value="exact" /> |
|---|
| | 181 | </td> |
|---|
| | 182 | </tr> |
|---|
| | 183 | <tr> |
|---|
| | 184 | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dst') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dst" /> <label for="dst"><?php echo _("Destination")?>:</label></td> |
|---|
| 187 | | Not:<input <?php if ( isset($_POST['dst_neg'] ) && $_POST['dst_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="dst_neg" value="true" /> |
|---|
| 188 | | Begins With:<input <?php if (empty($_POST['dst_mod']) || $_POST['dst_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="begins_with" /> |
|---|
| 189 | | Contains:<input <?php if (isset($_POST['dst_mod']) && $_POST['dst_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="contains" /> |
|---|
| 190 | | Ends With:<input <?php if (isset($_POST['dst_mod']) && $_POST['dst_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="ends_with" /> |
|---|
| 191 | | Exactly:<input <?php if (isset($_POST['dst_mod']) && $_POST['dst_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="exact" /> |
|---|
| 192 | | </td> |
|---|
| 193 | | </tr> |
|---|
| 194 | | <tr> |
|---|
| 195 | | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'userfield') { echo 'checked="checked"'; } ?> type="radio" name="order" value="userfield" /> <label for="userfield">Userfield:</label></td> |
|---|
| | 186 | <?php echo _("Not")?>:<input <?php if ( isset($_POST['dst_neg'] ) && $_POST['dst_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="dst_neg" value="true" /> |
|---|
| | 187 | <?php echo _("Begins With")?>:<input <?php if (empty($_POST['dst_mod']) || $_POST['dst_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="begins_with" /> |
|---|
| | 188 | <?php echo _("Contains")?>:<input <?php if (isset($_POST['dst_mod']) && $_POST['dst_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="contains" /> |
|---|
| | 189 | <?php echo _("Ends With")?>:<input <?php if (isset($_POST['dst_mod']) && $_POST['dst_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="ends_with" /> |
|---|
| | 190 | <?php echo _("Exactly")?>:<input <?php if (isset($_POST['dst_mod']) && $_POST['dst_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="dst_mod" value="exact" /> |
|---|
| | 191 | </td> |
|---|
| | 192 | </tr> |
|---|
| | 193 | <tr> |
|---|
| | 194 | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'userfield') { echo 'checked="checked"'; } ?> type="radio" name="order" value="userfield" /> <label for="userfield"><?php echo _("Userfield")?>:</label></td> |
|---|
| 197 | | Not:<input <?php if ( isset($_POST['userfield_neg'] ) && $_POST['userfield_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="userfield_neg" value="true" /> |
|---|
| 198 | | Begins With:<input <?php if (empty($_POST['userfield_mod']) || $_POST['userfield_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="begins_with" /> |
|---|
| 199 | | Contains:<input <?php if (isset($_POST['userfield_mod']) && $_POST['userfield_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="contains" /> |
|---|
| 200 | | Ends With:<input <?php if (isset($_POST['userfield_mod']) && $_POST['userfield_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="ends_with" /> |
|---|
| 201 | | Exactly:<input <?php if (isset($_POST['userfield_mod']) && $_POST['userfield_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="exact" /> |
|---|
| 202 | | </td> |
|---|
| 203 | | </tr> |
|---|
| 204 | | <tr> |
|---|
| 205 | | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'accountcode') { echo 'checked="checked"'; } ?> type="radio" name="order" value="accountcode" /> <label for="userfield">Account Code:</label></td> |
|---|
| | 196 | <?php echo _("Not")?>:<input <?php if ( isset($_POST['userfield_neg'] ) && $_POST['userfield_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="userfield_neg" value="true" /> |
|---|
| | 197 | <?php echo _("Begins With")?>:<input <?php if (empty($_POST['userfield_mod']) || $_POST['userfield_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="begins_with" /> |
|---|
| | 198 | <?php echo _("Contains")?>:<input <?php if (isset($_POST['userfield_mod']) && $_POST['userfield_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="contains" /> |
|---|
| | 199 | <?php echo _("Ends With")?>:<input <?php if (isset($_POST['userfield_mod']) && $_POST['userfield_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="ends_with" /> |
|---|
| | 200 | <?php echo _("Exactly")?>:<input <?php if (isset($_POST['userfield_mod']) && $_POST['userfield_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="userfield_mod" value="exact" /> |
|---|
| | 201 | </td> |
|---|
| | 202 | </tr> |
|---|
| | 203 | <tr> |
|---|
| | 204 | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'accountcode') { echo 'checked="checked"'; } ?> type="radio" name="order" value="accountcode" /> <label for="userfield"><?php echo _("Account Code")?>:</label></td> |
|---|
| 207 | | Not:<input <?php if ( isset($_POST['accountcode_neg'] ) && $_POST['accountcode_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="accountcode_neg" value="true" /> |
|---|
| 208 | | Begins With:<input <?php if (empty($_POST['accountcode_mod']) || $_POST['accountcode_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="begins_with" /> |
|---|
| 209 | | Contains:<input <?php if (isset($_POST['accountcode_mod']) && $_POST['accountcode_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="contains" /> |
|---|
| 210 | | Ends With:<input <?php if (isset($_POST['accountcode_mod']) && $_POST['accountcode_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="ends_with" /> |
|---|
| 211 | | Exactly:<input <?php if (isset($_POST['accountcode_mod']) && $_POST['accountcode_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="exact" /> |
|---|
| 212 | | </td> |
|---|
| 213 | | </tr> |
|---|
| 214 | | <tr> |
|---|
| 215 | | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'duration') { echo 'checked="checked"'; } ?> type="radio" name="order" value="duration" /> <label>Duration:</label></td> |
|---|
| 216 | | <td>Between: |
|---|
| | 206 | <?php echo _("Not")?>:<input <?php if ( isset($_POST['accountcode_neg'] ) && $_POST['accountcode_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="accountcode_neg" value="true" /> |
|---|
| | 207 | <?php echo _("Begins With")?>:<input <?php if (empty($_POST['accountcode_mod']) || $_POST['accountcode_mod'] == 'begins_with') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="begins_with" /> |
|---|
| | 208 | <?php echo _("Contains")?>:<input <?php if (isset($_POST['accountcode_mod']) && $_POST['accountcode_mod'] == 'contains') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="contains" /> |
|---|
| | 209 | <?php echo _("Ends With")?>:<input <?php if (isset($_POST['accountcode_mod']) && $_POST['accountcode_mod'] == 'ends_with') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="ends_with" /> |
|---|
| | 210 | <?php echo _("Exactly")?>:<input <?php if (isset($_POST['accountcode_mod']) && $_POST['accountcode_mod'] == 'exact') { echo 'checked="checked"'; } ?> type="radio" name="accountcode_mod" value="exact" /> |
|---|
| | 211 | </td> |
|---|
| | 212 | </tr> |
|---|
| | 213 | <tr> |
|---|
| | 214 | <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'duration') { echo 'checked="checked"'; } ?> type="radio" name="order" value="duration" /> <label><?php echo _("Duration")?>:</label></td> |
|---|
| | 215 | <td><?php echo _("Between")?>: |
|---|
| 228 | | <option <?php if (empty($_POST['disposition']) || $_POST['disposition'] == 'all') { echo 'selected="selected"'; } ?> value="all">All Dispositions</option> |
|---|
| 229 | | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'ANSWERED') { echo 'selected="selected"'; } ?> value="ANSWERED">Answered</option> |
|---|
| 230 | | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'BUSY') { echo 'selected="selected"'; } ?> value="BUSY">Busy</option> |
|---|
| 231 | | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'FAILED') { echo 'selected="selected"'; } ?> value="FAILED">Failed</option> |
|---|
| 232 | | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'NO ANSWER') { echo 'selected="selected"'; } ?> value="NO ANSWER">No Answer</option> |
|---|
| | 227 | <option <?php if (empty($_POST['disposition']) || $_POST['disposition'] == 'all') { echo 'selected="selected"'; } ?> value="all"><?php echo _("All Dispositions")?></option> |
|---|
| | 228 | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'ANSWERED') { echo 'selected="selected"'; } ?> value="ANSWERED"><?php echo _("Answered")?></option> |
|---|
| | 229 | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'BUSY') { echo 'selected="selected"'; } ?> value="BUSY"><?php echo _("Busy")?></option> |
|---|
| | 230 | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'FAILED') { echo 'selected="selected"'; } ?> value="FAILED"><?php echo _("Failed")?></option> |
|---|
| | 231 | <option <?php if (isset($_POST['disposition']) && $_POST['disposition'] == 'NO ANSWER') { echo 'selected="selected"'; } ?> value="NO ANSWER"><?php echo _("No Answer")?></option> |
|---|
| 251 | | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'minutes1') { echo 'selected="selected"'; } ?> value="minutes1">Minute</option> |
|---|
| 252 | | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'minutes10') { echo 'selected="selected"'; } ?> value="minutes10">10 Minutes</option> |
|---|
| 253 | | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'hour') { echo 'selected="selected"'; } ?> value="hour">Hour</option> |
|---|
| 254 | | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'hour_of_day') { echo 'selected="selected"'; } ?> value="hour_of_day">Hour of day</option> |
|---|
| 255 | | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'day_of_week') { echo 'selected="selected"'; } ?> value="day_of_week">Day of week</option> |
|---|
| 256 | | <option <?php if (empty($_POST['group']) || $_POST['group'] == 'day') { echo 'selected="selected"'; } ?> value="day">Day</option> |
|---|
| 257 | | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'week') { echo 'selected="selected"'; } ?> value="week">Week ( Sun-Sat )</option> |
|---|
| 258 | | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'month') { echo 'selected="selected"'; } ?> value="month">Month</option> |
|---|
| | 250 | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'minutes1') { echo 'selected="selected"'; } ?> value="minutes1"><?php echo _("Minute")?></option> |
|---|
| | 251 | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'minutes10') { echo 'selected="selected"'; } ?> value="minutes10"><?php echo _("10 Minutes")?></option> |
|---|
| | 252 | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'hour') { echo 'selected="selected"'; } ?> value="hour"><?php echo _("Hour")?></option> |
|---|
| | 253 | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'hour_of_day') { echo 'selected="selected"'; } ?> value="hour_of_day"><?php echo _("Hour of day")?></option> |
|---|
| | 254 | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'day_of_week') { echo 'selected="selected"'; } ?> value="day_of_week"><?php echo _("Day of week")?></option> |
|---|
| | 255 | <option <?php if (empty($_POST['group']) || $_POST['group'] == 'day') { echo 'selected="selected"'; } ?> value="day"><?php echo _("Day")?></option> |
|---|
| | 256 | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'week') { echo 'selected="selected"'; } ?> value="week"><?php echo _("Week ( Sun-Sat )")?></option> |
|---|
| | 257 | <option <?php if (isset($_POST['group']) && $_POST['group'] == 'month') { echo 'selected="selected"'; } ?> value="month"><?php echo _("Month")?></option> |
|---|
| 423 | | <th class="record_col">Call Date</th> |
|---|
| 424 | | <th class="record_col">File</th> |
|---|
| 425 | | <th class="record_col">System</th> |
|---|
| 426 | | <th class="record_col">Src Channel</th> |
|---|
| 427 | | <th class="record_col">Source</th> |
|---|
| 428 | | <th class="record_col">Application</th> |
|---|
| 429 | | <th class="record_col">Destination</th> |
|---|
| 430 | | <th class="record_col">Dst Channel</th> |
|---|
| 431 | | <th class="record_col">Disposition</th> |
|---|
| 432 | | <th class="record_col">Duration</th> |
|---|
| 433 | | <th class="record_col">Userfield</th> |
|---|
| 434 | | <th class="record_col">Account</th> |
|---|
| | 422 | <th class="record_col"><?php echo _("Call Date")?></th> |
|---|
| | 423 | <th class="record_col"><?php echo _("File")?></th> |
|---|
| | 424 | <th class="record_col"><?php echo _("System")?></th> |
|---|
| | 425 | <th class="record_col"><?php echo _("Src Channel")?></th> |
|---|
| | 426 | <th class="record_col"><?php echo _("Source")?></th> |
|---|
| | 427 | <th class="record_col"><?php echo _("Application")?></th> |
|---|
| | 428 | <th class="record_col"><?php echo _("Destination")?></th> |
|---|
| | 429 | <th class="record_col"><?php echo _("Dst Channel")?></th> |
|---|
| | 430 | <th class="record_col"><?php echo _("Disposition")?></th> |
|---|
| | 431 | <th class="record_col"><?php echo _("Duration")?></th> |
|---|
| | 432 | <th class="record_col"><?php echo _("Userfield")?></th> |
|---|
| | 433 | <th class="record_col"><?php echo _("Account")?></th> |
|---|