"><?php echo $row['project_task_title']; ?> </a></td> <td><?php if ($row['start_date'] != '') { echo dateformat($row['start_date']); } else { echo ""; } ?> </td> <td><?php if ($row['due_date'] != '') { echo dateformat($row['due_date']); } else { echo ""; } ?> </td> <td><?php echo $row['task_priority_title']; ?> </td> <td><?php echo $row['project_task_label']; ?> </td> <td> <span class="btn btn-danger btn-xs" style="background-color:<?php
{ $datetime = $datetime == '0000-00-00 00:00:00' || $datetime == null ? null : date("Y-m-d\\TH:i:s\\Z", strtotime($datetime)); return $datetime; } $response = array(); foreach ($query->result() as $row) { $request = new stdClass(); $request->service_request_id = $row->report_id; $request->status = $row->status_name; $request->status_notes = $row->status_notes; $request->service_code = $row->category_id; $request->description = stripslashes($row->description); $request->agency_responsible = $row->agency_responsible; $request->service_notice = $row->service_notice; $request->requested_datetime = dateformat($row->requested_datetime); $request->updated_datetime = dateformat($row->updated_datetime); $request->expected_datetime = dateformat($row->expected_datetime); $request->address = $row->address; $request->address_id = $row->address_id; $request->zipcode = $row->postal_code; $request->lat = $row->lat; $request->long = $row->long; $response[] = $request; } header('Content-type: application/json'); print json_encode($response); ?>
?> /library/js/jquery.js"></script> </head> <body class="body_top"> <form method=post action=""> <span class="title"><?php echo xlt('Work/School Note'); ?> </span><br></br> <?php echo xlt('Printed'); ?> <?php echo dateformat(); ?> <br><br> <select name="note_type"> <option value="WORK NOTE" <?php if ($obj['note_type'] == "WORK NOTE") { echo " SELECTED"; } ?> ><?php echo xlt('WORK NOTE'); ?> </option> <option value="SCHOOL NOTE" <?php if ($obj['note_type'] == "SCHOOL NOTE") { echo " SELECTED";
?> </td> <td ><a href="view-member-details.php?id=<?php echo $row['userid']; ?> " class="details" rel="colorbox2"><?php echo $row['name']; ?> </a></td> <td><?php echo $vote4aap[$row['vote']]; ?> </td> <td><?php echo dateformat($row['contactdate']); ?> </td> <td ><?php echo $getconnected[$row['iscalled']]; ?> </span></td> <td ><?php echo $row['voterid'] == 1 ? "Yes" : ""; ?> </td> <td><a href="view-ocontact-details.php?id=<?php echo $row['id']; ?> " class="details" rel="colorbox" ><i class="icon-eye-open"></i></a> <a href="#" class="ocontdelete" id="<?php
?> ' onclick='top.restoreSession()'> <img id="nextday" src="<?php echo $this->_tpl_vars['TPL_IMAGE_PATH']; ?> /rightbtn.gif" border="0" title="<?php echo xl("Next Day"); ?> " alt="<?php echo xl("Next Day"); ?> " /></a> <?php $atmp = array_keys($A_EVENTS); echo dateformat(strtotime($atmp[0]), true); ?> </div> <div id="viewPicker"> <?php echo " <a href='#' type='button' id='printview' title='" . xl("Print View") . "' class='css_button'/><span>" . xl("Print") . "</span></a>\n"; echo " <a href='#' type='button' value='" . xl("Refresh") . "' onclick='javascript:refreshme()' class='css_button'/><span>" . xl("Refresh") . "</span></a>\n"; echo " <a href='#' type='button' id='dayview' title='" . htmlspecialchars(xl('Day View'), ENT_QUOTES) . "' class='css_button'/><span>" . htmlspecialchars(xl('Day'), ENT_QUOTES) . "</span></a>\n"; echo " <a href='#' type='button' id='weekview' title='" . htmlspecialchars(xl('Week View'), ENT_QUOTES) . "' class='css_button'/><span>" . htmlspecialchars(xl('Week'), ENT_QUOTES) . "</span></a>\n"; echo " <a href='#' type='button' id='monthview' title='" . htmlspecialchars(xl('Month View'), ENT_QUOTES) . "' class='css_button'/><span>" . htmlspecialchars(xl('Month'), ENT_QUOTES) . "</span></a>\n"; ?> </div> </div> <!-- end topToolbarRight --> <div id="bottom"> <div id="bottomLeft">
showtablefooter(); showtableheader('', 'notop'); showsubmit('submit', 'submit', '', '<a href="' . $BASESCRIPT . '?action=jswizard">' . lang('jswizard_infoside_addcomment') . '</a>'); showtablefooter(); showformfooter(); } } elseif ($operation == 'config') { if (!submitcheck('settingsubmit')) { showsubmenu('nav_javascript', array(array('config', 'jswizard&operation=config', 1), $infosidemenu, array('admin', 'jswizard', 0), array(array('menu' => 'jswizard_addmodule', 'submenu' => $addmenu), '', 0), array('jswizard_module', 'jswizard&type=module', 0), array('import', 'jswizard&operation=import', 0))); $query = $db->query("SELECT * FROM {$tablepre}settings WHERE variable IN ('jsstatus', 'jsdateformat', 'jsrefdomains', 'infosidestatus', 'jscachelife')"); while ($setting = $db->fetch_array($query)) { $settings[$setting['variable']] = $setting['value']; } showformheader('jswizard&operation=config', '', 'settings'); showhiddenfields(array('operation' => $operation)); $settings['jsdateformat'] = dateformat($settings['jsdateformat']); showtableheader(); showsetting('jswizard_config_jsstatus', 'settingsnew[jsstatus]', $settings['jsstatus'], 'radio', '', 1); showsetting('jswizard_config_jsdateformat', 'settingsnew[jsdateformat]', $settings['jsdateformat'], 'text'); showsetting('jswizard_config_jsrefdomains', 'settingsnew[jsrefdomains]', $settings['jsrefdomains'], 'textarea'); showtagfooter('tbody'); showsetting('jswizard_config_jscachelife', 'settingsnew[jscachelife]', $settings['jscachelife'], 'text'); showtablerow('', 'colspan="2"', '<input type="submit" class="btn" name="settingsubmit" value="' . lang('submit') . '" />'); showtablefooter(); showformfooter(); } else { foreach ($settingsnew as $key => $val) { $db->query("REPLACE INTO {$tablepre}settings (variable, value)\r\n\t\t\t\tVALUES ('{$key}', '{$val}')"); } updatecache('settings'); cpmsg('jswizard_succeed', $BASESCRIPT . '?action=jswizard&operation=config', 'succeed');
?> </td> <td class="center"><?php echo $row['participants']; ?> </td> <? if ($entitled) { ?> <td> <? if ($row['activated']) { ?> ✓ <?php echo _("last time activated"); ?> : <?php echo dateformat($row['activated']); ?> <? form(URI::same(), 'class="button"'); ?> <input type="hidden" name="area" value="<?php echo $row['id']; ?> "> <input type="hidden" name="action" value="unsubscribe"> <input type="submit" value="<?php echo _("unsubscribe"); ?> "> <? form_end();
$s_pegawai = "SELECT * FROM m_idpegawai WHERE nip = '" . $nip . "' ORDER BY nama"; $q_pegawai = mysql_query($s_pegawai); $Pegawai = mysql_fetch_array($q_pegawai); ?> <table cellspacing="0"> <tr style="font: 12pt Arial, Helvetica, sans-serif"> <td align="center" colspan="8"><strong>LAPORAN PRESENSI</strong></td> </tr> <tr style="font: 8pt Arial, Helvetica, sans-serif"> <td align="center" colspan="8"> <strong><?php echo dateformat($a_tgl, "d-M-Y"); ?> s/d <?php echo dateformat($b_tgl, "d-M-Y"); ?> </strong> </td> </tr> <tr><td> </td></tr> </table> <table style="font:8pt Arial, Helvetica, sans-serif;"> <tr> <td colspan="2">NIP</td> <td colspan="6">: <?php echo $Pegawai['nip_baru']; ?> </td> </tr>
$requests = xml_add_child($dom, 'service_requests'); function dateformat($datetime) { $datetime = $datetime == '0000-00-00 00:00:00' ? '' : date("Y-m-d\\TH:i:s\\Z", strtotime($datetime)); return $datetime; } foreach ($query->result() as $row) { $request = xml_add_child($requests, 'request'); xml_add_child($request, 'service_request_id', $row->report_id); xml_add_child($request, 'status', $row->status_name); xml_add_child($request, 'status_notes', $row->status_notes); //xml_add_child($request, 'service_name', $row->category_name); xml_add_child($request, 'service_code', $row->category_id); xml_add_child($request, 'description', stripslashes($row->description)); xml_add_child($request, 'agency_responsible', $row->agency_responsible); xml_add_child($request, 'service_notice', $row->service_notice); xml_add_child($request, 'requested_datetime', dateformat($row->requested_datetime)); xml_add_child($request, 'updated_datetime', dateformat($row->updated_datetime)); xml_add_child($request, 'expected_datetime', dateformat($row->expected_datetime)); xml_add_child($request, 'address', $row->address); xml_add_child($request, 'address_id', $row->address_id); xml_add_child($request, 'zipcode', $row->postal_code); xml_add_child($request, 'lat', $row->lat); xml_add_child($request, 'long', $row->long); } xml_print($dom); ?>
extract($this->_tpl_vars); $this->_extract = false; } ?> <?php echo "<table width='100%' border='1' cellpadding='1' cellspacing='0' >\n"; $tdstylearr = array('bordyy', 'bordny', 'bordyn', 'bordnn'); // For each day... foreach ($A_EVENTS as $date => $events) { $need_headers = true; $eventdate = substr($date, 0, 4) . substr($date, 5, 2) . substr($date, 8, 2); // If multiple days then show a date header for each. if ($MULTIDAY) { echo " <tr>\n"; echo " <td colspan='" . count($providers) * 2 . "' align='center'>" . dateformat(strtotime($date), true) . "</td>"; echo " </tr>\n"; } $arr_events = $S_EVENTS[$date]; list($slotkey, $slotevent) = each($arr_events); // This is an array of provider status information for this day, // used to properly assign table cell attributes. $provstat = array(); $slotindex = 0; $lastslotindex = count($times) - 1; // For each time slot... foreach ($times as $slottime) { $startampm = $slottime['mer'] == "pm" ? 2 : 1; $starttimeh = $slottime['hour']; $starttimem = $slottime['minute']; $slotendmins = $starttimeh * 60 + $starttimem + $interval;
</td> <td><?php echo $row['email']; ?> </td> <td><?php echo wordwrap($row['address1'], 40, '<br/>'); echo wordwrap($row['address2'], 40, '<br/>'); ?> </td> <td><?php echo wordwrap($row['city'], 40, '<br/>'); ?> </td> <td><?php echo dateformat($row['created_at']); ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <!-- Modal -->
$info .= ', Home: ' . $result['phone_home']; } if ($result['pharmacy_id']) { $pharmacy = new Pharmacy($result['pharmacy_id']); if ($pharmacy->get_phone()) { $info .= ', Pharm: ' . $pharmacy->get_phone(); } } if (!empty($_GET["set_encounter"])) { setencounter($_GET["set_encounter"]); } if (!empty($encounter)) { $subresult = getEncounterDateByEncounter($encounter); $encounter_date = dateformat(strtotime($subresult['date'])); } else { $encounter_date = dateformat(); //otherwise, set today's date } ?> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%"> <tr> <td width="33%" valign="middle" nowrap> <span class="title_bar_top"><?php echo $result["fname"] . " " . $result["lname"]; ?> </span> <span style="font-size:8pt;">(<?php echo $info;
function write_log($text, $unit, $ket) { $filename = dateformat(now(), "Ymd_His") . "_" . $unit . "_" . $_SESSION['xusername'] . "_" . $ket . ".txt"; $filedir = "menus/siapp/log/" . $filename; $fr = fopen($filedir, 'w'); if (!$fr) { echo "Error!!"; } else { fwrite($fr, $text); fclose($fr); } }
?> </dl> </div><!-- /.box-body --> </div><!-- /.box --> <div class="box box-solid"> <div class="box-header"> <i class="fa fa-clock-o"></i> <h3 class="box-title">Activities</h3> </div><!-- /.box-header --> <div class="box-body"> <dl class="dl-horizontal"> <dt>Last Activity </dt> <dd> <?php if (!empty($project_comment)) { echo dateformat($project_comment[0]['created_at'], "d M Y H:i a"); } else { echo ""; } ?> </dd> </dl> </div><!-- /.box-body --> </div><!-- /.box --> <?php if (!empty($files)) { ?> <div class="box box-solid"> <div class="box-header"> <i class="fa fa-fw fa-files-o"></i> <h3 class="box-title">File Details</h3>
<td><?php echo lang('invoice_no_label'); ?> </td> <td class="text-right"><?php echo $invoice['invoice']['id']; ?> </td> </tr> <tr> <td><?php echo lang('date_label'); ?> : </td> <td class="text-right"><?php echo dateformat($invoice['invoice']['current_time_stamp']); ?> </td> </tr> <tr> <td> </td> <td class="text-right"> </td> </tr> <tr> <td width="40%"><?php echo lang('total_label'); ?> </td> <td width="60%" class="text-right"> <?php echo $invoice['invoice']['currency_symbol_left'] . $invoice['invoice']['total'] . " " . $invoice['invoice']['currency_symbol_right'];
</dd> </dl> </div><!-- /.box-body --> </div><!-- /.box --> <div class="box box-solid"> <div class="box-header"> <i class="fa fa-clock-o"></i> <h3 class="box-title">Activities</h3> </div><!-- /.box-header --> <div class="box-body"> <dl class="dl-horizontal"> <dt>Last Activity </dt> <dd> <?php if (!empty($task_comment)) { echo dateformat($task_comment[0]['created_at'], "d M Y H:i a"); } else { echo ""; } ?> </dd> </dl> </div><!-- /.box-body --> </div><!-- /.box --> </div> </div><!-- ./row --> <style> .dl-horizontal dd { margin-left: 106px; }
} else { echo $cc; } ?> </td> <td><?php $rc = referralcount($row['id']); if ($rc > 0) { echo '<a href="referrals.php?mid=' . $row['id'] . '">' . $rc . '</a>'; } else { echo $rc; } ?> </td> <td><?php echo dateformat($row['datecreated']); ?> </td> <td ><i class="pointer <?php if ($row['status2'] == 1) { echo 'icon-ok'; } else { if ($row['status2'] == 0) { echo 'icon-remove'; } else { echo 'icon-ban-circle'; } } ?> " id="statusimg_<?php echo $row['id'];
?> </td> <td><?php echo $row['lastname']; ?> </td> <td><?php echo $row['city']; ?> </td> <td><?php echo $row['membertype']; ?> </td> <td><?php echo dateformat($row['datesent']); ?> </td> <td ><?php echo $row['payment_method']; ?> </td> <td ><span class="text-success"><?php echo $row['payment_status'] == 0 ? 'No' : 'Yes'; ?> </span></td> <td style="text-align:center"><a href="send-mail.php?mid=<?php echo $row['id']; ?> " ><i class="icon-envelope"></i></a>
</span> <?php endif; ?> <?php else: ?> <span class="HelpToolTip HelpText"> <span class="HelpToolTip_Title" style="display:none;"><?php echo GetLang('Addon_splittest_Stats_StillSending'); ?></span> <span class="HelpToolTip_Contents" style="display:none;"><?php echo GetLang('Addon_splittest_Stats_StillSending_Tip'); ?></span> <?php echo GetLang('Addon_splittest_Stats_StillSending'); ?> </span> <?php endif; ?> <div style="font-weight:normal" id="active_<?php echo $tpl->Get('statid'); ?>" style="display:none;"></div> </td> <td> <?php if($tpl->Get('statsDetails','finishtime') == 0): ?> <?php echo GetLang('Addon_splittest_Stats_FinishTime_NotFinished'); ?> <?php else: ?> <?php echo dateformat($tpl->Get('statsDetails','finishtime'), $tpl->Get('DateFormat')); ?> <?php endif; ?> </td><!-- <td align="center"> <?php echo $tpl->Get('statsDetails','total_recipient_count'); ?> </td>--> <td nowrap="nowrap"> <!-- actions here --> <?php if($tpl->Get('statsDetails','finishtime') == 0): ?> <?php ob_start(); ?>disabledlink<?php $tpl->Assign("active_status", ob_get_contents()); ob_end_clean(); ?> <?php endif; ?> <a class="<?php echo $tpl->Get('active_status'); ?>" href="index.php?Page=Addons&Addon=splittest&Action=Stats&splitid=<?php echo $tpl->Get('statsDetails','splitid'); ?>&jobid=<?php echo $tpl->Get('statsDetails','jobid'); ?>"><?php echo GetLang('Addon_splittest_Stats_View'); ?></a> <a class="<?php echo $tpl->Get('active_status'); ?> StatsDisplayExportStat" id="hrefStatsDisplayExportJob_<?php echo $tpl->Get('statsDetails','jobid'); ?>" splitid="hrefStatsDisplayExportJob_<?php echo $tpl->Get('statsDetails','splitid'); ?>" href="#"><?php echo GetLang('Addon_splittest_Stats_Export'); ?></a>
?> </td> <td> <?php if (isset($new_arr[$row['lead_id']])) { echo $new_arr[$row['lead_id']]; } else { echo "0"; } ?> </td> <td><?php if ($row['lupdate'] != '0000-00-00 00:00:00' && $row['lupdate'] != '') { echo dateformat($row['lupdate'], 'd M Y h:i A'); } else { echo dateformat($row['lcreatedate'], 'd M Y h:i A'); } ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <?php
<?php //echo dateformat($row['datetime']); ?> </span>--> </li> <!-- /.timeline-label --> <!-- timeline item --> <li id="<?php echo 'latr' . $row['activity_id']; ?> "> <i class="fa fa-fw fa-code-fork bg-blue"></i> <div class="timeline-item"> <span class="time"><i class="fa fa-clock-o"></i> <?php echo dateformat($row['datetime']); ?> </span> <h3 class="timeline-header"><a href="<?php echo base_url() . 'user/view_employee'; ?> "> <?php echo $row['emp_first'] . " " . $row['emp_secound']; ?> </a> <?php echo $row['activity_title']; ?> </h3> <div class="timeline-body"> <?php
<span class="HelpText" onMouseOut="HideHelp('splitDisplay<?php echo $tpl->Get('splittestEntry','splitid'); ?>');" onMouseOver="ShowQuickHelp('splitDisplay<?php echo $tpl->Get('splittestEntry','splitid'); ?>', '<?php echo $tpl->Get('splittestEntry','tipheading'); ?>', '<?php echo $tpl->Get('splittestEntry','tipdetails'); ?>');"> <?php if($tpl->Get('splittestEntry','splittype') == 'distributed'): ?> <?php echo GetLang('Addon_splittest_Manage_SplitType_Distributed'); ?> <?php elseif($tpl->Get('splittestEntry','splittype') == 'percentage'): ?> <?php echo GetLang('Addon_splittest_Manage_SplitType_Percentage'); ?> <?php endif; ?> </span><br /><div id="splitDisplay<?php echo $tpl->Get('splittestEntry','splitid'); ?>" style="display: none;"></div> </td> <td> <?php echo dateformat($tpl->Get('splittestEntry','createdate'), $tpl->Get('DateFormat')); ?> </td> <td> <?php if($tpl->Get('splittestEntry','lastsent') == 0): ?> <?php echo GetLang('Addon_splittest_Manage_LastSent_Never'); ?> <?php else: ?> <?php echo dateformat($tpl->Get('splittestEntry','lastsent'), $tpl->Get('DateFormat')); ?> <?php endif; ?> </td> <td> <?php if($tpl->Get('SendPermission')): ?> <?php if($tpl->Get('splittestEntry','jobstatus') == 'i'): ?> <a href="<?php echo $tpl->Get('AdminUrl'); ?>&Action=Send&id=<?php echo $tpl->Get('splittestEntry','splitid'); ?>&Step=20"><?php echo GetLang('Addon_splittest_Pause'); ?></a> <?php elseif($tpl->Get('splittestEntry','jobstatus') == 'p'): ?> <a href="<?php echo $tpl->Get('AdminUrl'); ?>&Action=Send&id=<?php echo $tpl->Get('splittestEntry','splitid'); ?>&Step=30"><?php echo GetLang('Addon_splittest_Resume'); ?></a> <?php elseif($tpl->Get('splittestEntry','jobstatus') == 'w'): ?> <?php if($tpl->Get('ScheduleSendPermission')): ?> <a href="<?php echo $tpl->Get('ApplicationUrl'); ?>index.php?Page=Schedule"><?php echo GetLang('Addon_splittest_WaitingToSend'); ?></a> <?php else: ?> <a href="<?php echo $tpl->Get('AdminUrl'); ?>&Action=Send&id=<?php echo $tpl->Get('splittestEntry','splitid'); ?>&Step=20"><?php echo GetLang('Addon_splittest_WaitingToSend'); ?></a> <?php endif; ?> <?php elseif($tpl->Get('splittestEntry','jobstatus') == 't'): ?>
$settingsnew['ftp'] = serialize($settingsnew['ftp']); } if ($isfounder && isset($settingsnew['mail'])) { $settings['mail'] = unserialize($settings['mail']); $passwordmask = $settings['mail']['auth_password'] ? $settings['mail']['auth_password'][0] . '********' . substr($settings['mail']['auth_password'], -2) : ''; $settingsnew['mail']['auth_password'] = $settingsnew['mail']['auth_password'] == $passwordmask ? $settings['mail']['auth_password'] : $settingsnew['mail']['auth_password']; $settingsnew['mail'] = serialize($settingsnew['mail']); } if (isset($settingsnew['jsrefdomains'])) { $settingsnew['jsrefdomains'] = trim(preg_replace("/(\\s*(\r\n|\n\r|\n|\r)\\s*)/", "\r\n", $settingsnew['jsrefdomains'])); } if (isset($settingsnew['jsdateformat'])) { $settingsnew['jsdateformat'] = dateformat($settingsnew['jsdateformat'], 'format'); } if (isset($settingsnew['wapdateformat'])) { $settingsnew['wapdateformat'] = dateformat($settingsnew['wapdateformat'], 'format'); } if (isset($settingsnew['cachethreaddir']) && isset($settingsnew['threadcaches'])) { if ($settingsnew['cachethreaddir'] && !is_writable(DISCUZ_ROOT . './' . $settingsnew['cachethreaddir'])) { cpmsg('cachethread_dir_noexists', '', 'error'); } if (!empty($fids)) { $sqladd = in_array('all', $fids) ? '' : " WHERE fid IN ('" . implode("', '", $fids) . "')"; $db->query("UPDATE {$tablepre}forums SET threadcaches='{$settingsnew['threadcaches']}'{$sqladd}"); } } if ($operation == 'attach') { $settingsnew['thumbwidth'] = intval($settingsnew['thumbwidth']) > 0 ? intval($settingsnew['thumbwidth']) : 200; $settingsnew['thumbheight'] = intval($settingsnew['thumbheight']) > 0 ? intval($settingsnew['thumbheight']) : 300; $settingsnew['swfupload'] = isset($settingsnew['swfupload'][1]) ? 2 : (isset($settingsnew['swfupload'][0]) ? $settingsnew['swfupload'][0] : 0); }
require 'dibi.phar'; try { dibi::connect(array('driver' => 'mysql', 'database' => $wgDBname, 'host' => $wgDBserver, 'username' => $wgDBuser, 'password' => $wgDBpassword)); #echo 'Connected'; } catch (Exception $e) { http_response_code(400); echo "Connect error"; echo get_class($e), ': ', $e->getMessage(), "\n"; exit('Connection failed'); } $sensor = $in_data["sensor"]; switch ($sensor) { case 's0': $sensor = 1; break; case 'elmer': $sensor = 0; break; default: break; } $rec = array("time" => dateformat($in_data["timestamp"]), "sensor" => $sensor, "value" => $in_data["value"]); try { dibi::query('replace into smrz_values ', $rec); } catch (Exception $e) { echo "Insert error"; echo get_class($e), ': ', $e->getMessage(), "\n"; http_response_code(400); exit('Insert failed'); } echo 'OK';
} } if (!empty($_G['gp_newsmtp'])) { foreach ($_G['gp_newsmtp']['server'] as $id => $server) { if (!empty($server) && !empty($_G['gp_newsmtp']['port'][$id])) { $settingnew['mail']['smtp'][] = array('server' => $server, 'port' => $_G['gp_newsmtp']['port'][$id] ? intval($_G['gp_newsmtp']['port'][$id]) : 25, 'auth' => $_G['gp_newsmtp']['auth'][$id] ? 1 : 0, 'from' => $_G['gp_newsmtp']['from'][$id], 'auth_username' => $_G['gp_newsmtp']['auth_username'][$id], 'auth_password' => $_G['gp_newsmtp']['auth_password'][$id]); } } } $settingnew['mail'] = serialize($settingnew['mail']); } if (isset($settingnew['jsrefdomains'])) { $settingnew['jsrefdomains'] = trim(preg_replace("/(\\s*(\r\n|\n\r|\n|\r)\\s*)/", "\r\n", $settingnew['jsrefdomains'])); } if (isset($settingnew['jsdateformat'])) { $settingnew['jsdateformat'] = dateformat($settingnew['jsdateformat'], 'format'); } if (isset($settingnew['cachethreaddir']) && isset($settingnew['threadcaches'])) { if ($settingnew['cachethreaddir'] && !is_writable(DISCUZ_ROOT . './' . $settingnew['cachethreaddir'])) { cpmsg('cachethread_dir_noexists', '', 'error', array('cachethreaddir' => $settingnew['cachethreaddir'])); } if (!empty($_G['gp_fids'])) { $sqladd = in_array('all', $_G['gp_fids']) ? '' : " WHERE fid IN ('" . implode("', '", $_G['gp_fids']) . "')"; DB::query("UPDATE " . DB::table('forum_forum') . " SET threadcaches='{$settingnew['threadcaches']}'{$sqladd}"); } } if ($operation == 'attach') { $settingnew['thumbwidth'] = intval($settingnew['thumbwidth']) > 0 ? intval($settingnew['thumbwidth']) : 200; $settingnew['thumbheight'] = intval($settingnew['thumbheight']) > 0 ? intval($settingnew['thumbheight']) : 300; $settingnew['swfupload'] = isset($settingnew['swfupload'][1]) ? 2 : (isset($settingnew['swfupload'][0]) ? $settingnew['swfupload'][0] : 0); $settingnew['maxthumbwidth'] = intval($settingnew['maxthumbwidth']);
</label> </td> <td><a href="<?php echo base_url() . 'project/project_detail/' . $row['prid']; ?> "><?php echo $row['project_title']; ?> </a></td> <td><?php echo dateformat($row['start_date']); ?> </td> <td><?php echo dateformat($row['apporx_end']); ?> </td> <td> <span class="btn btn-danger btn-xs" style="background-color:<?php echo $row['project_status_color']; ?> ; border-color:<?php echo $row['project_status_color']; ?> "><?php echo $row['pstatus']; ?> </span> </td>
</td> <td><?php echo $row['invoice_no']; ?> </td> <td> <?php if ($row['company_name'] != '') { echo $row['company_name']; } else { echo $row['first_name'] . " " . $row['last_name']; } ?> </td> <td><?php echo dateformat($row['bill_date']); ?> </td> <td><?php echo $row['total_amount']; ?> </td> <td> <?php if ($row['paid_amount'] != '') { if ($row['paid_amount'] == $row['total_amount']) { echo '<span class="label label-success" role="button" data-toggle="popover" data-placement="left" data-content="Fully paid" data-html="true" data-trigger="hover">Paid</span>'; } else { echo '<div class="label label-warning" role="button" data-toggle="popover" data-placement="left" data-content="Total Amount: ' . $row['total_amount'] . '<br/> Paid Amount: ' . $row['paid_amount'] . '<br/> Due Amount: ' . ($row['total_amount'] - $row['paid_amount']) . '" data-html="true" data-trigger="hover">Partial</span>'; } } else {
echo $val['title']; if ($val['default'] == '1') { echo ' <em class="label label-info">default</em>'; } ?> </td> <td><?php echo $val['code']; ?> </td> <td><?php echo $val['value']; ?> </td> <td><?php echo dateformat($val['date_modified']); ?> </td> <td> <a href="<?php echo site_url('currency/update') . "/" . $val['id']; ?> " class="btn btn-xs btn-info" data-original-title="Update"> <i class="glyphicon glyphicon-edit glyphicon-white" ></i> </a> <a href="<?php echo site_url('currency/delete') . "/" . $val['id']; ?> " class="delete btn btn-xs btn-danger" data-original-title="Delete"> <i class="glyphicon glyphicon-trash glyphicon-white" ></i> </a>
<tr> <td valign="top" ><?php echo $cnt; ?> </td> <td style="text-align:left"><?php echo $row['username']; ?> </td> <td > <?php echo $row['designation']; ?> </td> <td ><?php echo dateformat($row['lastlogin']); ?> </td> <?php if (!stristr($row['access'], "a")) { ?> <td > <i class="pointer <?php echo $row['status2'] != 0 ? 'icon-ok' : 'icon-ban-circle'; ?> " id="statusimg_<?php echo $row['id']; ?> " onClick="change_status('admins','<?php echo $row['id'];
echo lang('view_total_label'); ?> </th> <th> <?php echo lang('view_action'); ?> </th> </tr> </thead><!-- table head --> <?php foreach ($allinvoice as $val) { ?> <tbody> <tr> <td><?php echo dateformat($val['current_time_stamp']); ?> </td> <td><?php echo $val['customer_name']; ?> </td> <td class="text-center"><a class="popup <?php echo $val['invoice_statuses_id'] == 1 ? "label label-warning" : "label label-success"; ?> " href="#invoice_status_modal" data-toggle="modal" data-id="<?php echo $val["id"]; ?> " data-comment="<?php