Esempio n. 1
0
</strong><?php 
        } else {
            ?>
<span class="<?php 
            echo $importantClass;
            ?>
"><?php 
            echo $data['subject'];
            ?>
</span><?php 
        }
        ?>
										</a>
									</td>
									<td width="120"><div class="fss"><?php 
        echo Convert::formatDate($data['sendtime'], 'u');
        ?>
</div></td>
									<td width="10" class="j-mark">
										<?php 
        if (!in_array($op, array('draft', 'send', 'folder'))) {
            ?>
											<a href="javascript:;" title="<?php 
            echo $lang['Click to mark this message'];
            ?>
" class="<?php 
            if ($data['ismark'] == 1) {
                ?>
o-mark<?php 
            } else {
                ?>
Esempio n. 2
0
																<?php 
                }
                ?>
															</li>
														<?php 
            }
            ?>
													</ul>
												</div>
											</div>
										</div>
									<?php 
        } else {
            ?>
										<?php 
            $time = Convert::formatDate($data['latest']['ctime'], 'u');
            ?>
										<div class="mb">
											<p>
												<strong><?php 
            echo $modules[$module]['name'];
            ?>
:</strong>
												<?php 
            if (empty($data['latest']['url'])) {
                ?>
													<?php 
                echo $data['latest']['title'];
                ?>
												<?php 
            } else {
Esempio n. 3
0
                    </a>
                </div>
                <div class="cmt-body fss">
                    <p class="xcm">
                        <a href="<?php 
        echo $fb['user']['space_url'];
        ?>
" class="anchor"><?php 
        echo $fb['user']['realname'];
        ?>
:</a>
                        <?php 
        echo $fb['content'];
        ?>
                        <span class="tcm ilsep">(<?php 
        echo Convert::formatDate($fb['edittime'], 'u');
        ?>
)</span>
                    </p>
                    <div class="xar">
                        <a href="javascript:;" data-click="setreply" data-param="{&quot;name&quot;:&quot;<?php 
        echo $fb['user']['realname'];
        ?>
&quot;}"><?php 
        echo $lang['Reply'];
        ?>
</a>
                        <?php 
        if ($fb['uid'] == $this->uid) {
            ?>
<a href="javascript:;" class="mls" data-click="delreply" data-param="{&quot;feedid&quot;:&quot;<?php 
Esempio n. 4
0
								<?php 
echo stripslashes($fd['body']);
?>
							</div>
							<!--地图定位-->
							<!--<div>
								<i class="glyphicon-map-marker"></i>
								<span>暨南大学科技产业大厦</span>
								<span>&nbsp;-&nbsp;</span>
								<a href="#" class="wb-source">查看地图</a>
							</div>-->
							<!--来源信息-->
							<div class="wb-info-ads clearfix">
								<div class="wb-info-from pull-left">
									<span><?php 
echo Convert::formatDate($fd['ctime'], 'n月d日H:i');
?>
</span>
									<span>&nbsp;<?php 
echo $fd['from'];
?>
&nbsp;</span>
									<?php 
if (!empty($fd['view'])) {
    ?>
										<a href="javascript:;" class="o-wbi-lock mls" data-action="openAllowedUserDialog" data-param='{"feedid": <?php 
    echo $fd['feedid'];
    ?>
}' data-toggle="tooltip" title="<?php 
    echo $viewDesc[$fd['view']];
    ?>
Esempio n. 5
0
        </a>
    </div>
    <div class="cmt-body fss">
        <p class="xcm">
            <a href="<?php 
echo $user['space_url'];
?>
" class="anchor"><?php 
echo $user['realname'];
?>
:</a>
            <?php 
echo $reply['content'];
?>
            <span class="tcm ilsep">(<?php 
echo Convert::formatDate($reply['edittime'], 'u');
?>
)</span>
        </p>
        <div class="xar">
            <a href="javascript:;" data-click="setreply" data-param="{&quot;name&quot;:&quot;<?php 
echo $user['realname'];
?>
&quot;}"><?php 
echo $lang['Reply'];
?>
</a>
            <a href="javascript:;" class="mls" data-click="delreply" data-param="{&quot;feedid&quot;:&quot;<?php 
echo $newID;
?>
&quot;}"><?php 
Esempio n. 6
0
											<a href="<?php 
    echo $value['filename'];
    ?>
"><?php 
    echo substr(strrchr($value['filename'], "/"), 1);
    ?>
</a>
										</td>
										<td></td>
										<td><?php 
    echo is_int($value['dateline']) ? date('Y-m-d H:i', $value['dateline']) : $lang['Unknown'];
    ?>
</td>
										<td>ZIP</td>
										<td><?php 
    echo Convert::sizeCount($value['size']);
    ?>
</td>
										<td><?php 
    echo $value['type'];
    ?>
</td>
										<td></td>
										<td>
											<a href="javascript:void(0);" data-act="decompress" data-id="<?php 
    echo $value['filename'];
    ?>
" class="btn btn-small"><?php 
    echo $lang['Decompress'];
    ?>
</a>
Esempio n. 7
0
										</div>
									</div>
								</div>
								<div class="control-group">
									<label  class="control-label"><?php 
echo $lang['Watermark text color'];
?>
</label>
									<div class="controls">
										<input type="hidden" name='watermarktext[color]' id="watermark_color_value" value="<?php 
echo $waterMark['watermarktext']['color'];
?>
">
										<div class="input-group">
											<button type="button" href="javascript:;" id="watermark_color_ctrl" class="btn btn-fix" style="background-color: rgb(<?php 
echo implode(',', Convert::hexColorToRGB($waterMark['watermarktext']['color']));
?>
)"></button>
										</div>
									</div>
								</div>
							</div>
							<!-- 文字水印 end -->
						</div>
						<div class="control-group">
							<label  class="control-label"><?php 
echo $lang['Watermark transparency'];
?>
</label>
							<div class="controls">
								<div id="watermark_opacity" data-value="<?php 
Esempio n. 8
0
            echo $lang['Not receive'];
            ?>
</span>
                                        <?php 
        }
        ?>
                                    </td>
                                    <td>
                                        <span class="fss tcm"><?php 
        echo $val['user']['realname'];
        ?>
</span>
                                    </td>
                                    <td>
                                        <span class="fss tcm"><?php 
        echo Convert::formatDate($val['time']);
        ?>
</span>
                                    </td>
                                </tr>
                            <?php 
    }
    ?>
                        </tbody>
                    </table>
                <?php 
} else {
    ?>
                    <div class="no-data-tip"></div>
                <?php 
}
Esempio n. 9
0
            <td valign="top" style="border-color:#ffffff;background-color:#efefef;">
				<?php 
echo !empty($body['fromwebmail']) ? $body['fromwebmail'] : User::model()->fetchRealnameByUid($body['fromid']);
?>
            </td>
        </tr>
        <tr>
            <td valign="top" style="word-break:break-all;border-color:#ffffff;background-color:#efefef;">
				<?php 
echo $lang['Send time'];
?>
<br />
            </td>
            <td valign="top" style="border-color:#ffffff;background-color:#efefef;">
				<?php 
echo Convert::formatDate($body['sendtime']);
?>
( <?php 
echo $lang['Week'] . DateTime::getWeekDay($body['sendtime']);
?>
 )
            </td>
        </tr>
        <tr>
            <td valign="top" style="word-break:break-all;border-color:#ffffff;background-color:#efefef;" colspan="1" rowspan="1">
				<?php 
echo $lang['Recipient'];
?>
<br />
            </td>
            <td valign="top" style="word-break:break-all;border-color:#ffffff;background-color:#efefef;" colspan="1" rowspan="1">
Esempio n. 10
0
    foreach ($history as $log) {
        ?>
    
									<?php 
        $row = json_decode($log['message'], true);
        ?>
    
									<tr>
										<td>
											<?php 
        echo Convert::formatDate($log['logtime'], 'u');
        ?>
</td>
										<td>
											<?php 
        echo String::cutStr(!empty($row['address']) ? $row['address'] : Convert::convertIp($row['ip']), 7);
        ?>
</td>
										<td>
											<?php 
        echo $row['ip'];
        ?>
</td>
										<td>
											<?php 
        echo $terminal[$row['terminal']];
        ?>
</td>
									</tr>
								<?php 
    }
Esempio n. 11
0
					<!-- Row 8 编辑器  -->
					<div class="bdbs">
						<script id="editor" name="emailbody[content]" type="text/plain"><?php 
echo $content;
?>
</script>
					</div>
					<div class="att">
						<div class="attb">
							<a href="javascript:;" id="upload_btn"></a>
							<a href="javascript:;" class="btn btn-icon vat" title="从文件柜选择" data-action="selectFile" data-param='{ "target": "#file_target", "input": "#attachmentid" }'>
								<i class="o-folder-close"></i>
							</a>
							<input type="hidden" name="emailbody[attachmentid]" id="attachmentid" value="<?php 
if (isset($attach)) {
    echo implode(',', Convert::getSubByKey($attach, 'aid'));
}
?>
" />
							<span><?php 
echo $lang['File size limit'];
echo $uploadConfig['max'] / 1024;
?>
MB</span>
						</div>
						<div class="attl" id="file_target">
							<?php 
if (isset($attach)) {
    ?>
								<?php 
    foreach ($attach as $value) {
Esempio n. 12
0
    echo Convert::sizeCount($value['Data_length'] + $value['Index_length']);
    ?>
</td>
                            </tr>
                        <?php 
}
?>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td colspan="8">
                                <?php 
if ($totalSize > 0) {
    ?>
                                    <?php 
    echo $lang['Size'] . ':' . Convert::sizeCount($totalSize);
    ?>
                                <?php 
} else {
    ?>
                                    <?php 
    echo $lang['No need to optimize'];
    ?>
                                <?php 
}
?>
                            </td>
                        </tr>
                    </tfoot>
                </table>
            </div>
Esempio n. 13
0
    if ($row['fromuid'] == $uid) {
        ?>
msg-box-inverse bglb<?php 
    } else {
    }
    ?>
">
				<span class="msg-box-arrow"> <i></i></span>
				<div class="msg-box-body">
					<p class="xcm mb"><?php 
    echo String::parseHtml($row['content']);
    ?>
</p>
					<div>
						<span class="tcm fss"><?php 
    echo Convert::formatDate($row['mtime'], 'u');
    ?>
</span>
						<div class="pull-right">
							<!--
							<a href="javascript:;" onclick="replyMessage('<?php 
    echo $row['fromuser']['realname'];
    ?>
')">回复</a>
							-->
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
Esempio n. 14
0
            ?>
</a>
								</span>
							<?php 
        } else {
            ?>
								<?php 
            echo $run['stepname'];
            ?>
							<?php 
        }
        ?>
						</td>
						<td class="posr">
							<span class="art-list-time"><?php 
        echo Convert::formatDate($run['begintime']);
        ?>
</span>
							<div class="right-btnbar">
								<div class="btn-toolbar pull-right">
									<div class="btn-group">
										<button type="button" class="btn dropdown-toggle btn-small" data-toggle="dropdown">
											<?php 
        echo $lang['More'];
        ?>
<span class="caret"></span>
										</button>
										<ul class="dropdown-menu" role="menu">
											<?php 
        if (isset($run['turn'])) {
            ?>
Esempio n. 15
0
        ?>
" class="xcm"><?php 
        echo String::parseHtml(String::cutStr($row['lastmessage']['content'], 100));
        ?>
</a>
										</p>
										<div>
											<div class="pull-left">
												<label class="checkbox checkbox-inline mbz">
													<input type="checkbox" value="<?php 
        echo $row['listid'];
        ?>
" name="pm">
												</label>
												<span class="tcm fss"><?php 
        echo Convert::formatDate($row['listctime'], 'u');
        ?>
</span>
												<span class="tcm fss ilsep">|</span>
												<span class="tcm fss"><?php 
        echo $lang['Total'];
        echo $row['messagenum'];
        echo $lang['Item'];
        ?>
</span>
											</div>
											<div class="pull-right">
												<a href="javascript:;" title="<?php 
        echo $lang['Delete'];
        ?>
" class="cbtn o-trash" data-action="removePm" data-param='{"id": "<?php 
Esempio n. 16
0
		</a>
	</div>
	<div class="cmt-body fss">
		<p class="xcm">
			<a href="<?php 
echo $userInfo['space_url'];
?>
" class="anchor"><?php 
echo $userInfo['realname'];
?>
:</a>
			<?php 
echo $content;
?>
			<span class="tcm ilsep">(<?php 
echo Convert::formatDate($ctime, 'u');
?>
)</span>
		</p>
		<div class="xar">
			<a href="javascript:;" data-act="reply" data-param='{"name":"<?php 
echo $userInfo['realname'];
?>
","touid":"<?php 
echo $userInfo['uid'];
?>
"}'><?php 
echo $lang['Reply'];
?>
</a>
			<?php 
Esempio n. 17
0
" width="60" height="60">
					</a>
				</div>
				<div class="cmt-body">
					<p class="mbs xcm">
						<strong class="xcn"><?php 
        echo $comment['user_info']['realname'];
        ?>
:</strong>
						<?php 
        echo String::parseHtml($comment['content']);
        ?>
					</p>
					<div class="mbs fss">
						<span><?php 
        echo Convert::formatDate($comment['ctime'], 'u');
        ?>
</span>
						<div class="pull-right">
							<a href="javascript:;" data-act="getreply" data-param='{"type":"reply","module":"message","table":"comment","rowid":"<?php 
        echo $comment['cid'];
        ?>
","name":"<?php 
        echo $comment['user_info']['realname'];
        ?>
","type":"reply"}'><?php 
        echo $lang['Reply'];
        ?>
(<?php 
        echo $comment['replys'];
        ?>
Esempio n. 18
0
    ?>
</th>
									</tr>
								</thead>
								<tbody>		
									<?php 
    foreach ($creditLog as $log) {
        ?>
										<tr>
											<td><?php 
        echo $log['operation'];
        ?>
</td>
											<td>+1</td>
											<td><?php 
        echo Convert::formatDate($log['dateline'], 'Y-m-d H:i');
        ?>
</td>
											<td><?php 
        echo $log['curcredits'];
        ?>
</td>
										</tr>
									<?php 
    }
    ?>
								</tbody>
								<?php 
    if (!empty($pages)) {
        ?>
									<tfoot>
Esempio n. 19
0
                                <?php 
        }
        ?>
                                <table class="table table-hover cl-info-table contact-list" id="contact_list">
                                    <tbody>
                                        <?php 
        foreach ($dept['users'] as $uid => $user) {
            ?>
                                            <tr id="cl_tr_<?php 
            echo $user['uid'];
            ?>
" data-id="<?php 
            echo $user['uid'];
            ?>
" class="contact-list-item" data-preg="<?php 
            echo $user['realname'] . Convert::getPY($user['realname']) . Convert::getPY($user['realname'], true);
            ?>
">
                                                <td width="50">
                                                    <div class="avatar-box">
                                                        <span class="avatar-circle">
                                                            <img src="<?php 
            echo $user['avatar_middle'];
            ?>
">
                                                        </span>
                                                    </div>
                                                </td>
                                                <td width="90">
                                                    <span class="xcm pc-name"><?php 
            echo $user['realname'];
Esempio n. 20
0
    foreach ($history as $log) {
        ?>
						<?php 
        $row = json_decode($log['message'], true);
        ?>
						<tr>
							<td><?php 
        echo date('y-n-j H:i:s', $log['logtime']);
        ?>
</td>
							<td><?php 
        echo $row['ip'];
        ?>
</td>
							<td><?php 
        echo !empty($row['address']) ? $row['address'] : Convert::convertIp($row['ip']);
        ?>
</td>
							<td class="fss"><?php 
        echo $terminal[$row['terminal']];
        ?>
</td>
						</tr>
					<?php 
    }
    ?>
				<?php 
}
?>
			</tbody>
			<?php