本文整理汇总了PHP中GetStringFromStringTable函数的典型用法代码示例。如果您正苦于以下问题:PHP GetStringFromStringTable函数的具体用法?PHP GetStringFromStringTable怎么用?PHP GetStringFromStringTable使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GetStringFromStringTable函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: SelectYesNo
function SelectYesNo($name, $selected, $config)
{
echo "<select name='" . $name . "'>";
if ($selected == "y") {
echo "<option value='y' selected>" . GetStringFromStringTable("IDS_SELECT_YES", $config) . "</option>";
} else {
echo "<option value='y'>" . GetStringFromStringTable("IDS_SELECT_YES", $config) . "</option>";
}
if ($selected == "n" || $selected == "") {
echo "<option value='n' selected>" . GetStringFromStringTable("IDS_SELECT_NO", $config) . "</option>";
} else {
echo "<option value='n'>" . GetStringFromStringTable("IDS_SELECT_NO", $config) . "</option>";
}
echo "</select>";
}
示例2: SelectBoardType
function SelectBoardType($name, $selected, $config)
{
echo "<select name='" . $name . "'>";
if ($selected == "1") {
echo "<option value='1' selected>" . GetStringFromStringTable("IDS_CFGBOARD_TXT_8", $config) . "</option>";
} else {
echo "<option value='1'>" . GetStringFromStringTable("IDS_CFGBOARD_TXT_8", $config) . "</option>";
}
if ($selected == "0" || $selected == "") {
echo "<option value='0' selected>" . GetStringFromStringTable("IDS_CFGBOARD_TXT_9", $config) . "</option>";
} else {
echo "<option value='0'>" . GetStringFromStringTable("IDS_CFGBOARD_TXT_9", $config) . "</option>";
}
echo "</select>";
}
示例3: GetStringFromStringTable
?>
images/cg_2.gif' border='0' alt='<?php
echo GetStringFromStringTable("IDS_CHESS_CREAT_GAME_TXT_3a", $config);
?>
'></a>
<br>
<?php
echo GetStringFromStringTable("IDS_CHESS_CREAT_GAME_TXT_3", $config);
?>
</center>
</td><td>
<center>
<a href='./chess_create_game_ar.php?othpid=<?php
echo $othpid;
?>
'><img src='<?php
echo $Root_Path . "skins/" . $SkinName . "/";
?>
images/cg_3.gif' border='0' alt='<?php
echo GetStringFromStringTable("IDS_CHESS_CREAT_GAME_TXT_4a", $config);
?>
'></a>
<br>
<?php
echo GetStringFromStringTable("IDS_CHESS_CREAT_GAME_TXT_4", $config);
?>
</center>
</td>
</tr>
</table>
示例4: die
<?php
if (!defined('CHECK_PHPCHESS')) {
die("Hacking attempt");
exit;
}
?>
<center><h1><?php
echo GetStringFromStringTable("IDS_MOBILE_DOWNLOAD_TXT_1", $config);
?>
</h1></center>
<?php
echo GetStringFromStringTable("IDS_MOBILE_DOWNLOAD_TXT_2", $config);
?>
<br><br>
<a href='./clients/MobileChess.jad'>MobileChess.jad</a>
<a href='./clients/MobileChess.jar'>MobileChess.jar</a>
示例5: GetStringFromStringTable
}
$oR3DCQuery->HandleActivityPageControlType($activityid, $pgi, $_SESSION['id']);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td align='left'>";
if ($oR3DCQuery->GetActivityPageType($activityid, $pgi) != "lsn") {
echo "<input type='button' name='btnViewSolution' value='" . GetStringFromStringTable("IDS_VIEW_ACTIVITIES_TXT_6", $config) . "' onclick=\"window.location='./chess_view_activities.php?tag=sa&aid=" . $activityid . "&pgi=" . $pgi . "&vs=1';\" class='mainoption'>";
}
echo "</td>";
echo "<td align='right'>";
// BAck Button
if ($pgi - 1 < 0) {
echo "<input type='button' name='btnBack' value='" . GetStringFromStringTable("IDS_VIEW_ACTIVITIES_TXT_7", $config) . "' disabled class='mainoption'>";
} else {
echo "<input type='button' name='btnBack' value='" . GetStringFromStringTable("IDS_VIEW_ACTIVITIES_TXT_7", $config) . "' onclick=\"window.location='./chess_view_activities.php?tag=sa&aid=" . $activityid . "&pgi=" . ($pgi - 1) . "';\" class='mainoption'>";
}
// Next Button
if ($pgi + 1 < $oR3DCQuery->GetActivityPageCount($activityid)) {
echo "<input type='button' name='btnNext' value='" . GetStringFromStringTable("IDS_VIEW_ACTIVITIES_TXT_8", $config) . "' onclick=\"window.location='./chess_view_activities.php?tag=sa&aid=" . $activityid . "&pgi=" . ($pgi + 1) . "';\" class='mainoption'>";
} else {
echo "<input type='button' name='btnNext' value='" . GetStringFromStringTable("IDS_VIEW_ACTIVITIES_TXT_8", $config) . "' disabled class='mainoption'>";
}
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</form>";
}
} else {
// do nothing
}
示例6: GetStringFromStringTable
' class='mainoption'>
</td>
</tr>
</table>
<input type='hidden' name='tid' value='<?php
echo $tid;
?>
'>
<input type='hidden' name='type' value='<?php
echo $type;
?>
'>
</form>
<?php
} else {
echo "<center>" . GetStringFromStringTable("IDS_CHESS_TOURNAMENT_V2_TXT_110", $config) . "</center><br>";
}
} else {
echo "<center>" . GetStringFromStringTable("IDS_CHESS_TOURNAMENT_V2_TXT_93", $config) . "</center><br>";
}
?>
</body>
</html>
<?php
$oR3DCQuery->Close();
unset($oR3DCQuery);
示例7: GetStringFromStringTable
<tr>
<td class='row1' colspan='2'><input type='submit' name='cmdSubmit' value='<?php
echo GetStringFromStringTable("IDS_CREATE_PAGE_TXT_9", $config);
?>
' class='mainoption'></td>
</tr>
</table>
<input type='hidden' name='aid' value='<?php
echo $AID;
?>
'>
</form>
<?php
} else {
?>
<table border='0' align='center' class='forumline' cellpadding='3' cellspacing='1' width='95%'>
<tr>
<td class='row1' align='center'><input type='button' name='btnClose' value='<?php
echo GetStringFromStringTable("IDS_CREATE_PAGE_TXT_10", $config);
?>
' onclick='javascript:window.close();' class='mainoption'></td>
</tr>
</table>
<?php
}
示例8: GetStringFromStringTable
<?php
echo GetStringFromStringTable("IDS_RENEWBILL_TABLE_TXT_16", $config);
?>
</td>
<td class='row2'>
<input type="text" name="txtRedemptionCode" class='post' size="55">
</td>
</tr>
</table>
<table border='0' cellspacing='1' cellpadding='3' width='95%' align='center'>
<tr>
<td>
<input type='hidden' name='txtID' value='<?php
echo $ID;
?>
'>
<input type='hidden' name='txtName' value='<?php
echo $txtName;
?>
'>
<input type='hidden' name='txtIsRenew' value='1'>
<center><input type="submit" value="<?php
echo GetStringFromStringTable("IDS_RENEWBILL_BTN_1", $config);
?>
" name="cmd" class='mainoption'></center>
</td>
</tr>
</table>
</form>
示例9: GetStringFromStringTable
<tr>
<td colspan='2' class='tableheadercolor'>
<input type='submit' name='cmdCommand' value='<?php
echo GetStringFromStringTable("IDS_RETRIEVEPASS_BTN_SUBMIT", $config);
?>
' class='mainoption'>
<input type='Reset' name='cmdReset' value='<?php
echo GetStringFromStringTable("IDS_RETRIEVEPASS_BTN_RESET", $config);
?>
' class='button'>
</td>
</tr>
<?php
if ($bsent) {
?>
<tr>
<td colspan='2' class="row2">
<?php
echo GetStringFromStringTable("IDS_RETRIEVEPASS_TEXT_1", $config);
?>
</td>
</tr>
<?php
}
?>
</table>
</form>
示例10: GetStringFromStringTable
<tr>
<td class="white">
<h3 class="menu_title"><?php
echo GetStringFromStringTable("IDS_MENU_TXT_15", $config);
?>
</h3>
<?php
//Instantiate the CTipOfTheDay Class
$oTipOfTheDay = new CTipOfTheDay($config);
$oTipOfTheDay->GetRandomTip($config);
unset($oTipOfTheDay);
?>
</td>
</tr>
<tr>
<td class="white">
<h3 class="menu_title"><?php
echo GetStringFromStringTable("IDS_MENU_TXT_16", $config);
?>
</h3>
<?php
$oR3DCQuery->GetNewPlayers($config);
?>
</td>
</tr>
<?php
}
}
?>
</table>
示例11: TrimRSlash
require $Root_Path . "includes/siteconfig.php";
require $Root_Path . "includes/language.php";
/**********************************************************************
* TrimRSlash
*
*/
function TrimRSlash($URL)
{
$nLength = strlen($URL);
return $URL[$nLength - 1] == '/' ? substr($URL, 0, $nLength - 1) : $URL;
}
// Posted variables
$txtSubject = $_POST['txtSubject'];
$elm2 = $_POST['elm2'];
// Set the body of the news letter
$bodyp1 = "<html><head><title>" . $txtSubject . "</title></head><body>" . stripslashes($elm2) . "<br><br>" . GetStringFromStringTable("IDS_NEWSLETTER_MAILER_TXT_1", $config) . "<br><a href='" . TrimRSlash($conf['site_url']) . "/chess_close.php'>" . TrimRSlash($conf['site_url']) . "/chess_close.php</a></body></html>";
$From = $conf['registration_email'];
$Name = $conf['site_name'];
//Instantiate theCR3DCQuery Class
$oR3DCQuery = new CR3DCQuery($config);
$aEmail = $oR3DCQuery->ListAvailablePlayersEmail($config);
$nCount = count($aEmail);
$i = 0;
while ($i < $nCount) {
$To = $aEmail[$i];
$oR3DCQuery->SendEmail($To, $From, $Name, $txtSubject, $bodyp1);
$i++;
}
$oR3DCQuery->Close();
unset($oR3DCQuery);
header('Location: ./create_newsletter.php');
示例12: GetStringFromStringTable
echo GetStringFromStringTable("IDS_CHESS_ACTIVITIES_TXT_4", $config);
echo " " . $oR3DCQuery->GetLessonCount();
?>
</center>
</td>
<td valign='top'>
<center>
<a href='./chess_get_activities.php?tag=other'><img src='<?php
echo $Root_Path . "skins/" . $SkinName . "/";
?>
images/ca_1_4.gif' border='0'></a>
<br>
<?php
echo GetStringFromStringTable("IDS_CHESS_ACTIVITIES_TXT_7", $config) . "<br>";
echo GetStringFromStringTable("IDS_CHESS_ACTIVITIES_TXT_4", $config);
echo " " . $oR3DCQuery->GetOtherCount();
?>
</center>
</td>
</tr>
</table>
<br><br>
<?php
//Get the players activity stats
$oR3DCQuery->GetPersonalActivityStatsHTML($_SESSION['id']);
?>
<table width='100%' cellpadding='0' cellspacing='0' border='0'>
</table>
示例13: GetStringFromStringTable
<?php
echo GetStringFromStringTable("IDS_ADMIN_MANAGE_NEWSDATA_TABLE_LINK_2", $config);
?>
</center>
</td><td>
<center>
<a href='./manage_servermsg.php'><img src='<?php
echo $Root_Path . "skins/" . $SkinName . "/";
?>
images/cfg_4_3.gif' border='0' alt='<?php
echo GetStringFromStringTable("IDS_ADMIN_MANAGE_NEWSDATA_TABLE_TXT_3", $config);
?>
'></a>
<br>
<?php
echo GetStringFromStringTable("IDS_ADMIN_MANAGE_NEWSDATA_TABLE_LINK_3", $config);
?>
</center>
</td><td>
<center>
<a href='./edit_faq.php'><img src='<?php
echo $Root_Path . "skins/" . $SkinName . "/";
?>
images/cfg_4_3.gif' border='0' alt='<?php
echo __l('Edit FAQ');
?>
'></a>
<br>
<?php
echo __l('Edit FAQ');
?>
示例14: GetStringFromStringTable
</tr>
<tr>
<td class="row1">Search</td><td class='row2'>Above: <Input type='text' name='txtAbove' size='10' class="post"> Below: <Input type='text' name='txtBelow' size='10' class="post"></td>
</tr>
<tr>
<td colspan='2' class='row2' align='right'>
<input type='submit' name='cmdSearchPoints' value='<?php
echo GetStringFromStringTable("IDS_FIND_PLAYER_BTN_SEARCH", $config);
?>
' class='mainoption'>
</td>
</tr>
</table>
</form>
<?php
if ($txtSearch != "") {
示例15: GetStringFromStringTable
ngroupcount++;
}
}else{
generator.document.write("<table border='0' align='center' cellpadding='3' cellspacing='1' width='98%'>");
generator.document.write('<tr><td><p><?php
echo GetStringFromStringTable("IDS_TOURNAMENTPROPOSAL_JAVA_TXT_16", $config);
?>
</p></td></tr>');
generator.document.write('</table><br>');
}
generator.document.write("<table border='0' align='center' cellpadding='3' cellspacing='1' width='98%'>");
generator.document.write('<tr><td><p><?php
echo GetStringFromStringTable("IDS_TOURNAMENTPROPOSAL_JAVA_TXT_17", $config);
?>
</p></td></tr>');
generator.document.write('</table><br>');
generator.document.write('</body></html>');
generator.document.close();
}
</script>
<?php
include "./skins/" . $SkinName . "/layout_cfg.php";
?>
</body>
</html>