本文整理汇总了PHP中printCrewName函数的典型用法代码示例。如果您正苦于以下问题:PHP printCrewName函数的具体用法?PHP printCrewName怎么用?PHP printCrewName使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printCrewName函数的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: printText
<h4>
<img src="<?php
echo $image;
?>
" alt="<?php
echo $fetch['awardName'];
?>
" border="0" style="float:left; padding-right:10px;" />
<?php
printText($fetch['awardDesc']);
?>
</h4>
<div style="clear:both;"></div>
<h3>Recipient: <?php
printCrewName($crew, 'rank', 'noLink');
?>
</h3>
<div class="overflow"><?php
printText($awards_raw[$award][2]);
?>
</div>
<p></p>
<div>
<input type="hidden" name="action_award" value="<?php
echo $award;
?>
" />
<input type="hidden" name="action_crew" value="<?php
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:award_remove.php
示例2: foreach
<th width="44%">Author</th>
<th width="2%"></th>
<th width="10%"></th>
<th width="10%"></th>
</tr>
<?php
foreach ($posts_array['pending'] as $value_p) {
?>
<tr class="fontNormal">
<td><?php
printText($value_p['title']);
?>
</td>
<td><?php
printCrewName($value_p['author'], 'rank', 'link');
?>
</td>
<td></td>
<td align="center"><a href="<?php
echo $webLocation;
?>
index.php?page=news&id=<?php
echo $value_p['id'];
?>
"><strong>View News</strong></a></td>
<td align="center"><a href="<?php
echo $webLocation;
?>
admin.php?page=manage&sub=news&id=<?php
echo $value_p['id'];
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:news.php
示例3: printCrewName
$menu->main();
if (isset($sessionCrewid)) {
$menu->user($sessionCrewid);
}
?>
</div><br />
</div>
<div id="content" class="wrapper">
<div class="nav">
<div class="login">
<?php
if (isset($sessionCrewid)) {
?>
<i>Hello, <?php
printCrewName($sessionCrewid, "noRank", "noLink");
?>
</i><br />
{ <a href="<?php
echo $webLocation;
?>
login.php?action=logout">Log Out</a> }
<?php
} else {
?>
<form method="post" action="<?php
echo $webLocation;
?>
login.php?action=checkLogin" class="login">
<b>Username</b><br />
<input type="text" name="username" size="12" class="text" /><br /><br />
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:menu.php
示例4: printText
?>
</td>
</tr>
<tr>
<td class="tableCellLabel">Category</td>
<td> </td>
<td><?php
printText($catName);
?>
</td>
</tr>
<tr>
<td class="tableCellLabel">Author</td>
<td> </td>
<td><?php
printCrewName($newsAuthor, "rank", "link");
?>
</td>
</tr>
<tr>
<td class="tableCellLabel">Posted</td>
<td> </td>
<td><?php
echo dateFormat("medium", $newsPosted);
?>
</td>
</tr>
</table>
<br />
<div align="center">
<b><a href="<?php
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:news.php
示例5: mysql_query
$get = "SELECT * FROM sms_news WHERE newsid = {$id} LIMIT 1";
$getR = mysql_query($get);
$pendingArray = mysql_fetch_assoc($getR);
?>
<h2>Activate Pending News Item?</h2>
<p>Are you sure you want to activate this news item? Once activated this news item will be emailed to the crew.</p>
<hr size="1" width="100%" />
<form method="post" action="">
<h3><?php
printText($pendingArray['newsTitle']);
?>
</h3>
<h4>By <?php
printCrewName($pendingArray['newsAuthor'], 'rank', 'noLink');
?>
</h4>
<div class="overflow"><?php
printText($pendingArray['newsContent']);
?>
</div>
<p></p>
<div>
<input type="hidden" name="action_id" value="<?php
echo $pendingArray['newsid'];
?>
" />
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:activate_news_activate.php
示例6: printCrewName
return false;
});
$('a#toggleAwards').click(function() {
$('#awards').toggle(75);
return false;
});
});
</script>
<div class="body">
<span class="fontTitle">
<?php
if (!empty($fetchCrew['rankid'])) {
printCrewName($fetchCrew['crewid'], "rank", "noLink");
} else {
printCrewName($fetchCrew['crewid'], "noRank", "noLink");
}
?>
</span>
<?php
if ($fetchCrew['crewType'] == "pending") {
?>
<b class="yellow">[ Activation Pending ]</b><?php
}
?>
<?php
if ($loa == 1) {
?>
<br /><b class="red">[ On Leave of Absence ]</b><?php
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:bio.php
示例7: printCrewName
<h2>Deactivate Character?</h2>
<p>Are you sure you want to deactivate <strong class="orange"><?php
printCrewName($pendingArray['crewid'], 'rank', 'noLink');
?>
</strong>? Once deactivated, the player will not be able to login to SMS or participate in the game in any way until they are reactivated.</p>
<hr size="1" width="100%" />
<form method="post" action="">
<table class="hud_guts">
<tr>
<td class="hudLabel">Character</td>
<td></td>
<td><?php
printCrewName($pendingArray['crewid'], 'rank', 'noLink');
?>
</td>
</tr>
<tr>
<td colspan="3" height="10"></td>
</tr>
<tr>
<td class="hudLabel">Position</td>
<td></td>
<td><?php
printText($pendingArray['positionName']);
?>
</td>
</tr>
<tr>
开发者ID:anodyne,项目名称:sms,代码行数:30,代码来源:crew_deactivate.php
示例8: extract
extract($pendingAwards, EXTR_OVERWRITE);
$getA = "SELECT * FROM sms_awards WHERE awardid = {$pendingAwards['award']} LIMIT 1";
$getAResult = mysql_query($getA);
$award = mysql_fetch_assoc($getAResult);
?>
<tr class="fontNormal">
<td><?php
printText($award['awardName']);
?>
</td>
<td><?php
printCrewName($pendingAwards['nominated'], "rank", "noLink");
?>
</td>
<td><?php
printCrewName($pendingAwards['crew'], "rank", "noLink");
?>
</td>
<td align="center"><a href="#" class="delete" rel="facebox" myID="<?php
echo $pendingAwards['id'];
?>
" myType="award" myAction="deny"><b>Deny</b></a></td>
<td align="center">
<?php
if (!empty($award)) {
?>
<a href="#" class="add" rel="facebox" myID="<?php
echo $pendingAwards['id'];
?>
" myType="award" myAction="approve"><b>Approve</b></a>
<?php
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:activate.php
示例9: foreach
Moderated posts will require approval before being sent out to the crew. If a player is moderated and they attempted to post a joint post, the joint post will require approval before it is sent out to the crew, even if the other members are not moderated. Unmoderated posts will be sent out without any need for activation. These values can also be changed from each user’s account page.<br /><br />
<table class="zebra" cellpadding="3" cellspacing="0">
<tr class="fontMedium">
<th>Crew Member</td>
<th>Mission Posts</td>
<th>Personal Logs</td>
<th>News Items</td>
</tr>
<?php
foreach ($crew as $key => $value) {
?>
<tr height="30">
<td><?php
printCrewName($key, "rank", "noLink");
?>
</td>
<td align="center" valign="middle">
<?php
if ($value['posts'] == "y") {
echo "<img src='images/message-unread-icon.png' border='0' alt='Moderated' />";
} else {
echo " ";
}
?>
</td>
<td align="center" valign="middle">
<?php
if ($value['logs'] == "y") {
echo "<img src='images/message-unread-icon.png' border='0' alt='Moderated' />";
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:moderate.php
示例10: print_active_crew_select_menu
<div id="three" class="ui-tabs-container ui-tabs-hide">
<br />
<form method="post" action="<?php
echo $webLocation;
?>
admin.php?page=user&sub=inbox&tab=3">
<table>
<tr>
<td class="narrowLabel tableCellLabel">To</td>
<td> </td>
<td>
<?php
if (!isset($id)) {
print_active_crew_select_menu("pm", "", "", "", "");
} else {
printCrewName($id, "rank", "noLink");
echo "<input type='hidden' name='pmRecipient' value='{$id}' />";
}
?>
</td>
</tr>
<tr height="5">
<td colspan="3"></td>
</tr>
<tr>
<td class="narrowLabel tableCellLabel">Subject</td>
<td> </td>
<td>
<?php
/* do some logic to figure out what should go in the value field */
if (isset($_GET['reply'])) {
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:inbox.php
示例11: while
echo "<b>There are no NPCs to moderate in this department! You can create one by using the link above.</b>";
echo "</td>";
echo "</tr>";
} else {
while ($npc = mysql_fetch_assoc($npcsResult)) {
extract($npc, EXTR_OVERWRITE);
$rowColor = $rowCount % 2 ? $color1 : $color2;
?>
<tr class="fontNormal <?php
echo $rowColor;
?>
" height="25">
<td width="40%">
<strong><?php
printCrewName($npc['crewid'], 'rank', 'noLink');
?>
</strong>
</td>
<td width="40%">
<?php
$key1 = array_key_exists($npc['positionid'], $pos_array);
if ($key1 !== FALSE) {
echo "<span style='color: #" . $pos_array[$npc['positionid']][1] . ";'>";
printText($pos_array[$npc['positionid']][0]);
echo "</span>";
} else {
echo "<strong class='red'>[ Invalid Position ]</strong>";
}
?>
</td>
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:npcs.php
示例12: printCrewName
" />
</td>
</tr>
<tr>
<td class="tableCellLabel">From</td>
<td> </td>
<td><?php
printCrewName($pmAuthor, "rank", "noLink");
?>
</td>
</tr>
<tr>
<td class="tableCellLabel">To</td>
<td> </td>
<td><?php
printCrewName($pmRecipient, "rank", "noLink");
?>
</td>
</tr>
<tr>
<td class="tableCellLabel">Sent</td>
<td> </td>
<td><?php
echo dateFormat("medium", $pmDate);
?>
</td>
</tr>
</table>
<br />
<div align="center">
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:message.php
示例13: printCrewName
?>
<form method="post" action="<?php
echo $webLocation;
?>
admin.php?page=user&sub=status">
<table>
<tr>
<td class="tableCellLabel">Crew Member</td>
<td> </td>
<td>
<?php
printCrewName($sessionCrewid, "rank", "noLink");
?>
<input type="hidden" name="crewMember" value="<?php
printCrewName($sessionCrewid, 'rank', 'noLink');
?>
" />
</td>
</tr>
<tr>
<td class="tableCellLabel">Status</td>
<td> </td>
<td>
<input type="radio" name="status" value="0" <?php
if ($info['loa'] == "0") {
echo "checked";
}
?>
/> Active<br />
<input type="radio" name="status" value="1" <?php
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:status.php
示例14: printText
</div> <!-- close the centering div -->
<table>
<tr>
<td class="tableCellLabel">Title</td>
<td> </td>
<td><?php
printText($logTitle);
?>
</td>
</tr>
<tr>
<td class="tableCellLabel">Author</td>
<td> </td>
<td><?php
printCrewName($logAuthor, "rank", "link");
?>
</td>
</tr>
<tr>
<td class="tableCellLabel">Posted</td>
<td> </td>
<td><?php
echo dateFormat("medium", $logPosted);
?>
</td>
</tr>
</table>
</span>
开发者ID:anodyne,项目名称:sms,代码行数:30,代码来源:log.php
示例15: QueryCheck
});
});
</script>
<div class="body">
<?php
$check = new QueryCheck();
$check->checkQuery($result, $query);
if (!empty($check->query)) {
$check->message("player award", "add");
$check->display();
}
?>
<span class="fontTitle">Give Award To <?php
printCrewName($crew, "rank", "noLink");
?>
</span><br /><br />
<b class="fontMedium">
<a href="<?php
echo $webLocation;
?>
admin.php?page=manage&sub=addaward">« Back to Crew List</a>
</b><br /><br />
<table class="zebra" cellpadding="3" cellspacing="0">
<?php
$getCrew = "SELECT crewType FROM sms_crew WHERE crewid = {$crew} LIMIT 1";
$getCrewResult = mysql_query($getCrew);
$crewFetch = mysql_fetch_array($getCrewResult);
if ($crewFetch[0] == "npc") {
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:addaward.php
示例16: dateFormat
<tr class="<?php
echo $rowColor;
?>
fontNormal">
<td align="center"><?php
echo dateFormat("medium", $logPosted);
?>
</td>
<td align="center"><a href="<?php
echo $webLocation;
?>
index.php?page=log&id=<?php
echo $logid;
?>
"><?php
printText($logTitle);
?>
</a></td>
<td align="center"><?php
printCrewName($loginfo['logAuthor'], "rank", "link");
?>
</a></td>
</tr>
<?php
$rowCount++;
}
?>
</table>
</div>
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:loglist.php
示例17: printCrewName
echo $newsid;
?>
" class="image">
<img src="<?php
echo $webLocation;
?>
images/edit.png" alt="[ Edit ]" border="0" />
</a>
<?php
}
?>
</span><br />
<span class="fontSmall">
Posted by <?php
printCrewName($newsItems['newsAuthor'], "rank", "link");
?>
on <?php
echo dateFormat("long", $newsPosted);
?>
<br />
Category: <?php
printText($catName);
?>
</span><br />
<div style="padding: .5em 0em 2em 1em;">
<?php
printText($text);
echo " ... <nobr>[ <a href='" . $webLocation . "index.php?page=news&id=" . $newsid . "'>Read More »</a> ]</nobr>";
?>
</div>
开发者ID:anodyne,项目名称:sms,代码行数:31,代码来源:main.php
示例18: foreach
<div id="three" class="ui-tabs-container ui-tabs-hide">
<?php
if (count($crew['pending']) == 0) {
echo "<strong class='orange fontLarge'>No pending characters found</strong>";
} else {
?>
<table class="zebra" cellpadding="3" cellspacing="0">
<?php
foreach ($crew['pending'] as $key_p => $value_p) {
?>
<tr height="40">
<td width="60%">
<b><?php
printCrewName($value_p['id'], 'noRank', 'noLink', 'pending');
?>
</b><br />
<span class="fontNormal">Unassigned</span>
</td>
<td width="10%"></td>
<td width="10%" align="center" class="fontNormal">
<a href="<?php
echo $webLocation;
?>
admin.php?page=user&sub=bio&crew=<?php
echo $value_p['id'];
?>
" class="edit"><b>Edit Bio</b></a>
</td>
<td width="10%" align="center" class="fontNormal">
开发者ID:anodyne,项目名称:sms,代码行数:30,代码来源:crew.php
注:本文中的printCrewName函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论