<label class="inline pull-left col-3"> <input class="ace" type="checkbox" name="id[]" value="<?php echo $vo["id"]; ?> " /> <span class="lbl"></span></label> <span class="col-20 autocut"> <?php if (in_array($folder, explode(',', "darftbox,outbox"))) { echo show_contact($vo["to"]); ?> <?php } else { ?> <?php echo show_contact($vo["from"]); } ?> </span> <span class="col-9 pull-right text-center" ><?php echo todate($vo["update_time"], 'Y-m-d'); ?> </span> <span class="autocut auto"> <?php if (!empty($vo['add_file'])) { ?> <i class="icon-paper-clip"></i> <?php } else { ?>
<div class="col-sm-8"> <p class="form-control-static"> <?php echo todate($vo["create_time"], 'Y年m月d日 H:i'); ?> </p> </div> </div> <div class="form-group col-sm-6 hidden"> <label class="col-sm-4 control-label hidden" >管理者:</label> <div class="col-sm-8"> <p class="form-control-static"> <?php echo show_contact($admin); ?> </p> </div> </div> <div class="clearfix"></div> <div class="form-group"> <div class="col-xs-12"> <div class="content_wrap" > <iframe class="content_iframe"></iframe> <textarea class="editor content" name="content" style="width:100%;display:none"><?php echo $vo["content"]; ?> </textarea> </div> </div>
if ($_POST['reminder'] > 0) { $next_recurrence_time = $cal->get_next_recurrence_time($event_id); $remind_time = $next_recurrence_time - $_POST['reminder']; $cal->insert_reminder($GO_SECURITY->user_id, $event_id, $remind_time); } if (trim($_POST['to']) != '' && $send_invitation) { //remove participants and add them if invitation is sent succesfully $cal->remove_participants($event_id); $send_invitation = false; //send an invitation mail to all participants $participants = cut_address($_POST['to'], $charset); $mail_body = '<html><body>' . $sc_invited . '<br /><br />'; $mail_body .= '<table border="0"><tr><td>' . $sc_title . ':</td><td>' . $name . '</td></tr>'; if ($_POST['contact_id'] > 0) { $mail_body .= '<tr><td>' . $sc_client . ':</td>'; $mail_body .= '<td>' . show_contact($_POST['contact_id']) . '</td></tr>'; } if ($_POST['description'] != '') { $mail_body .= '<tr><td valign="top">' . $strDescription . ':</td>'; $mail_body .= '<td>' . text_to_html($_POST['description']) . '</td></tr>'; } if ($_POST['location'] != '') { $mail_body .= '<tr><td>' . $sc_location . ':</td>'; $mail_body .= '<td>' . text_to_html($_POST['location']) . '</td></tr>'; } $mail_body .= '<tr><td>' . $sc_type . ':</td>'; $mail_body .= '<td>' . $sc_types[$_POST['repeat_type']] . '</td></tr>'; //don't calculate timezone offset for all day events $timezone_offset_string = isset($_POST['all_day_event']) ? 0 : $timezone_offset; if ($timezone_offset > 0) { $gmt_string = '\\G\\M\\T +' . $timezone_offset_string;
<?php echo '<tr><td>' . $strOwner . ':</td><td>' . show_profile($user_id, '', 'normal', $link_back) . '</td></tr>'; echo '<tr><td>' . $strCreatedAt . ':</td><td>' . $ctime . '</td><tr>'; echo '<tr><td>' . $strModifiedAt . ':</td><td>' . $mtime . '</td><tr>'; if ($project_id > 0) { $projects = new projects(); if ($project = $projects->get_project($project_id)) { $project_name = $project['description'] == '' ? $project['name'] : $project['name'] . ' (' . $project['description'] . ')'; if ($projects_module && ($GO_SECURITY->has_permission($GO_SECURITY->user_id, $projects_module['acl_read']) || $GO_SECURITY->has_permission($GO_SECURITY->user_id, $projects_module['acl_write']))) { echo '<tr><td>' . $no_project . ':</td><td><a href="' . $projects_module['url'] . 'project.php?project_id=' . $project_id . '&return_to=' . urlencode($_SERVER['REQUEST_URI']) . '" class="normal">' . htmlspecialchars($project_name) . '</a></td><tr>'; } else { echo '<tr><td>' . $no_project . ':</td><td>' . htmlspecialchars($project_name) . '</td><tr>'; } } } elseif ($contact_id > 0) { echo '<tr><td>' . $no_contact . ':</td><td>' . show_contact($contact_id, '', $link_back) . '</td><tr>'; } elseif ($file_path != '' && ($fs_module = $GO_MODULES->get_module('filesystem'))) { if (file_exists($file_path)) { echo '<tr><td>' . $no_file . ':</td><td><a class="normal" href="' . $fs_module['url'] . 'index.php?path=' . urlencode($file_path) . '">' . stripslashes($file_path) . '</a></td><tr>'; } } ?> </table> </td> </tr> <tr> <td colspan="2"> <?php $htmlarea->print_htmlarea(htmlspecialchars($content)); ?> </td>
<div class="form-group"> <label class="col-sm-2 control-label" for="name">发起人:</label> <div class="col-sm-10"> <p class="form-control-static"> <?php echo $vo["user_name"]; ?> </p> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="name">执行人:</label> <div class="col-sm-10"> <p class="form-control-static"> <?php echo show_contact($vo["executor"]); ?> </p> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="expected_time">期望完成时间:</label> <div class="col-sm-10"> <p class="form-control-static"> <?php echo $vo["expected_time"]; ?> </p> </div> </div>
echo '<tr><td>' . $pm_start_date . ':</td><td>'; $datepicker->print_date_picker('start_date', $_SESSION['GO_SESSION']['date_format'], $start_date, '', '', 'onchange="javascript:is_valid_date(\'end_date\', this.value)"'); echo '</td></tr>'; echo '<tr><td>' . $pm_end_date . ':</td><td>'; $datepicker->print_date_picker('end_date', $_SESSION['GO_SESSION']['date_format'], $end_date, '', '', 'onchange="javascript:is_valid_date(\'start_date\', this.value)"'); echo '</td></tr>'; if ($project_id > 0) { $pstate = $projects->f('status'); echo '<tr><td>' . $pm_status . ':</td><td><b>' . $pm_status_values[$pstate] . '</b></td></tr>'; echo '<tr><td>' . $pm_progress . ':</td><td>' . $progress . '%</td></tr>'; } echo '<tr><td>' . $pm_budget . ':</td><td><input type="text" class="textbox" size="10" name="budget" value="' . $budget . '" maxlength="50" style="text-align: right;" /> ' . $_SESSION['GO_SESSION']['currency'] . '</td></tr>'; } else { echo '<tr><td>' . $pm_client . ':</td><td>'; if ($contact_id > 0) { echo show_contact($contact_id); } else { echo $pm_no_contact; } echo '</td></tr>'; echo '<tr><td>' . $pm_start_date . ':</td><td>'; echo $start_date; echo '</td></tr>'; echo '<tr><td>' . $pm_end_date . ':</td><td>'; echo $end_date; echo '</td></tr>'; echo '<tr><td>' . $pm_status . '</td><td><b>'; $status = $pm_status_values[$projects->f('status')]; echo $status . '</b></td></tr>'; echo '<tr><td>' . $pm_progress . ':</td><td>' . $progress . '%</td></tr>'; echo '<tr><td>' . $pm_budget . ':</td><td>' . $budget . ' ' . $_SESSION['GO_SESSION']['currency'] . '</td></tr>';
<?php switch ($action) { case "": case "send-success": show_home(); break; case "about": case "readme": show_readme(); break; case "contact": case "send-error": show_contact(); break; case "license": show_license(); break; case "send": send_contact(); break; default: show_404(); } function show_home() { $data['msg'] = "TinyMVC is a PHP micro framework with MVC router."; render("home", $data); } function show_contact() {
</tr> <tr> <td><?php echo $strOwner; ?> :</td> <td><?php echo show_profile($event['user_id'], '', 'normal'); ?> </td> </tr> <?php if ($event['contact_id'] > 0) { echo '<tr><td>' . $sc_client . ':</td>'; echo '<td>' . show_contact($event['contact_id'], '', rawurlencode($_SERVER['REQUEST_URI'])) . '</td></tr>'; } if ($event['description'] != '') { echo '<tr><td valign="top">' . $strDescription . ':</td>'; echo '<td>' . text_to_html($event['description']) . '</td></tr>'; } if ($event['location'] != '') { echo '<tr><td>' . $sc_location . ':</td>'; echo '<td>' . $event['location'] . '</td></tr>'; } echo '<tr><td>' . $sc_type . ':</td>'; echo '<td>' . $sc_types[$event['repeat_type']] . '</td></tr>'; //don't calculate timezone offset for all day events $timezone_offset = $event['all_day_event'] == '0' ? $_SESSION['GO_SESSION']['timezone'] * 3600 : 0; if ($event['all_day_event'] == '1') { $event_time_format = $_SESSION['GO_SESSION']['date_format'];