public function s_spookyperson()
 {
     if ($this->Message->Chat->type == ChatType::Group) {
         Telegram::talk($this->Message->Chat->id, ">not understanding spookyperson");
     } elseif (strlen($this->Message->text) == 0) {
         Telegram::talk($this->Message->Chat->id, ">still not understanding spookyperson");
     } else {
         Telegram::talk('-19315940', person($this->Message->text, true));
     }
 }
 public function s_spookyzalgoperson()
 {
     $zalgo = new Zalgo(NULL);
     $out = $zalgo->speak($this->Message->text);
     $no1 = $zalgo->speak(">not understanding spookyzalgoperson");
     $no2 = $zalgo->speak(">still not understanding spookyzalgoperson");
     if ($this->Message->Chat->type == ChatType::Group) {
         Telegram::talk($this->Message->Chat->id, $no1);
     } elseif (strlen($this->Message->text) == 0) {
         Telegram::talk($this->Message->Chat->id, $no2);
     } else {
         Telegram::talk('-19315940', person($out, false));
     }
 }
$g += 2;
echo '<div id=MainData0>';
echo '<table width="100%" class="TableBlock" align="center"><thead>';
echo '<tr class="TableHeader" align="center"><td colspan=' . $g . '>' . date('Y') . '年' . date('m') . '月薪酬统计&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>';
//<a href="send_salary_email_result.php">发送工资条</a>
echo '<tr class="TableHeader" align="center">';
echo '<td>部门</td>';
echo '<td>姓名</td>';
//print_r($工资项目);
for ($i = 0; $i < sizeof($工资项目); $i++) {
    echo '<td>';
    echo $工资项目[$i]['费用名称'];
    echo '</td>';
}
echo '</tr></thead>';
$name = person();
for ($x = 0; $x < sizeof($name); $x++) {
    echo '<tr class="TableData" align="center">';
    $bm = depart($name[$x]['USER_NAME']);
    echo '<td>' . $bm . '</td><td>' . $name[$x]['USER_NAME'] . '</td>';
    for ($y = 0; $y < sizeof($工资项目); $y++) {
        $salary_item = person_salary_item($name[$x]['USER_NAME'], $工资项目[$y]['费用名称']);
        echo '<td>' . $salary_item . '</td>';
    }
    echo '</tr>';
}
//数据结束
echo '<tr class="TableHeader" align="center" >';
echo '<td colspan="2">合计</td>';
$hhh = array();
for ($i = 0; $i < sizeof($工资项目); $i++) {
}
?>

<footer><div class="container">

	<p>

		Lovingly made by <?php 
person($author);
?>
 with contributions from

		<?php 
$count = count($contributors);
foreach ($contributors as $index => &$contributor) {
    person($contributor);
    if ($index < $count - 1) {
        echo ', ';
    }
    if ($index == $count - 2) {
        echo 'and ';
    }
}
?>
. &#x2764;

	</p>

	<p>Want to add a website? <a href="mailto:me@evanhahn.com">Send me an email</a> or <a href="https://github.com/EvanHahn/two-factor-auth-list/edit/master/data.json">send a pull request on GitHub</a>. I'll credit you and the internet will love you forever.</p>

	<p><a href="https://github.com/EvanHahn/two-factor-auth-list">Check this project out on GitHub</a>, too. There are pictures of fire.</p>
function jq_release_author()
{
    $pkg = jq_release_manifest();
    return person($pkg->author);
}
Exemple #6
0
                                            <th>Bonus</th>
                                        </tr>
                                    </thead>
                                    <tbody>
									<?php 
$bonus_total = 0;
while ($row = mysql_fetch_array($q)) {
    ?>
                                        <tr>
                                            <td><?php 
    echo $row['level'];
    ?>
</td>
                                            <td>
                                            <?php 
    $person = person($row['child']);
    echo $person['username'];
    ?>
</td>
                                            <td><?php 
    echo reward($row['level']);
    ?>
</td>
                                        </tr>
									<?php 
    $bonus_total += reward($row['level']);
}
?>
                                    </tbody>
                                </table>
                            </div>
Exemple #7
0
     }
     $users = $groupWebSAPR->users();
     $users->sortBy('cn');
     $users->tplComboboxInner('USER_LIST', 'cn', 'samaccountname');
     $active = new Request5();
     $active->orderBy('saprname');
     if (!$groupWebAdmin->isMember($ses->login())) {
         $active->where('saprname=\'' . $ses->login() . '\'');
     }
     $active->retriveActiveTasks();
     $active->tplTableInner('TASKS_LIST', array('rid', 'time', 'username', 'time2', 'saprname', 'done', 'username2', 'result'), array(false, 'pid', 'username', false, 'saprname', false, 'username2', false), array(false, '?pid=', 'person.php?tab=', false, 'person.php?tab=', false, 'person.php?tab=', false));
     $tpl->parse('BODY', 'detales');
 } else {
     $tpl->parse('TABLE_HEADER', 'header1');
     $reqActions->tplTableInner('CALLS_LIST', array('rid', 'time', 'username', 'time2', 'saprname', 'done', 'username2', 'result', 'ORIG_TEXT'), array(false, false, 'username', false, 'saprname', false, 'username2', false, false), array(false, false, 'person.php?tab=', false, 'person.php?tab=', false, 'person.php?tab=', false, false));
     $tpl->assign(array('RID' => $rid, 'URL' => '?action=save', 'TARGET' => person($reqRoot->targetname[0]), 'TARGETNAME' => $reqRoot->targetname[0], 'PC' => $reqRoot->pcname[0], 'CURATOR' => person($reqRoot->curator[0]), 'SAPRNAME' => person($reqRoot->saprname[0]), 'TEXT' => nl2br(htmlspecialchars($reqRoot->text[0])), 'TIME' => $reqRoot->_timeToString($reqRoot->time[0]), 'ACTION' => $reqRoot->_actionToString($reqRoot->action[0]), 'CREATOR' => person($reqRoot->username[0]), 'DONE' => $reqRoot->_timeToString($reqRoot->done[0]), 'USERNAME2' => person($reqRoot->username2[0]), 'TIME2' => $reqRoot->_timeToString($reqRoot->time2[0]), 'RESULT' => $reqRoot->_actionToString($reqRoot->result[0]), 'COMMENT' => nl2br(htmlspecialchars($reqRoot->comment[0]))));
     if (strlen($reqRoot->file[0])) {
         $reqActions->tplLink('FILE', $reqRoot->file[0], '/files/' . $reqRoot->file[0]);
     }
     if ($groupWebAdmin->isMember($ses->login()) || $reqRoot->curator[0] == $ses->login()) {
         $tpl->parse('REQ_BUTTONS', 'closed_undo');
         $active = new Request5();
         $active->orderBy('saprname');
         if (!$groupWebAdmin->isMember($ses->login())) {
             $active->where('saprname=\'' . $ses->login() . '\'');
         }
         $active->retriveActiveTasks();
         $active->tplTableInner('TASKS_LIST', array('rid', 'time', 'username', 'time2', 'saprname', 'done', 'username2', 'result'), array(false, 'pid', 'username', false, 'saprname', false, 'username2', false), array(false, '?pid=', 'person.php?tab=', false, 'person.php?tab=', false, 'person.php?tab=', false));
     } else {
         $tpl->parse('REQ_BUTTONS', 'closed_comm');
     }
Exemple #8
0
 public function q_person()
 {
     Telegram::talk($this->Message->Chat->id, person($this->Message->text, true));
 }
 public function q_zalgoperson()
 {
     $zalgo = new Zalgo(NULL);
     $out = $zalgo->speak($this->Message->text);
     Telegram::talk($this->Message->Chat->id, person($out, false));
 }
function jq_release_author($options = array('avatar' => false, 'size' => 48))
{
    $pkg = jq_release_manifest();
    return person($pkg->author, $options['avatar'], $options['size']);
}
Exemple #11
0
			 </div>	 
			 <br style='clear:both;'>
	 </div>
</div>




<?php 
$queryx = mysql_query("SELECT * FROM tbl_forumreply WHERE forum='" . $_GET['thread'] . "' AND status='1'");
while ($row = mysql_fetch_assoc($queryx)) {
    ?>
<div class='threadcover' style='margin-top:10px;'>
	 <div class='threadcontent'>
	 <?php 
    $person = person($row['userid']);
    ?>
			 <div class='trleft'>
			 <?php 
    echo convertdate($row['post_date']);
    ?>
			 <p><img src='/account/assets/img/<?php 
    echo strtolower($person['gender']);
    ?>
.png'/></p>
			 <p><?php 
    echo $person['firstname'] . " " . $person['lastname'];
    ?>
</p>
			 </div>
Exemple #12
0
			<?php 
    $querythread = getforumthread($row['forumcategorymanager_id'], 5, 1);
    while ($row2 = mysql_fetch_assoc($querythread)) {
        ?>
			<!-- start: forumbit_depth2_forum -->
			<tr>
				<td class="trow1" align="center" width="1"><span class="forum_status forum_off ajax_mark_read" title="Forum Contains No New Posts" id="mark_read_2"></span></td>
				<td class="trow1">
				<strong><a href="forum.php?mode=thread-list&thread=<?php 
        echo $row2['id'];
        ?>
"><?php 
        echo $row2['forummanager_title'];
        ?>
				<?php 
        $x = person($row2['forummanager_parent']);
        ?>
				<br/><span style='font-size: 12px;'>by <?php 
        echo $x['username'];
        ?>
</span>
				</a></strong><div class="smalltext"></div>
				</td>
				<td class="trow1" align="center" style="white-space: nowrap"><?php 
        echo getreplycount($row2['id']);
        ?>
</td>
				<td class="trow1" align="right" style="white-space: nowrap">
				<div style="text-align: center;">Never</div>
				</td>
			</tr>