本文整理汇总了PHP中bbcode::reemplazo方法的典型用法代码示例。如果您正苦于以下问题:PHP bbcode::reemplazo方法的具体用法?PHP bbcode::reemplazo怎么用?PHP bbcode::reemplazo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类bbcode
的用法示例。
在下文中一共展示了bbcode::reemplazo方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: doquery
$AllianceQuery = doquery("SELECT " . $SpecifyItemsA . " FROM {{table}} WHERE `ally_name` = '" . $alianza . "'", "alliance", true);
$parse['alianza'] = $alianza;
$parse['id_ali'] = " (" . $lang['ac_ali_idid'] . " " . $AliID . ")";
$parse['id_aliz'] = $AllianceQuery['id'];
$parse['tag'] = $AllianceQuery['ally_tag'];
$parse['ali_nom'] = $AllianceQuery['ally_name'];
$parse['ali_cant'] = $AllianceQuery['ally_members'];
$parse['ally_register_time'] = date("d-m-Y H:i:s", $AllianceQuery['ally_register_time']);
$ali_lider = $AllianceQuery['ally_owner'];
if ($AllianceQuery['ally_web'] != NULL) {
$parse['ali_web'] = "<a href=" . $AllianceQuery['ally_web'] . " target=_blank>" . $AllianceQuery['ally_web'] . "</a>";
} else {
$parse['ali_web'] = $lang['ac_no_web'];
}
if ($AllianceQuery['ally_description'] != NULL) {
$parse['ali_ext2'] = $bbcode->reemplazo($AllianceQuery['ally_description']);
$parse['ali_ext'] = "<a href=\"#\" rel=\"toggle[externo]\">" . $lang['ac_view_text_ext'] . "</a>";
} else {
$parse['ali_ext'] = $lang['ac_no_text_ext'];
}
if ($AllianceQuery['ally_text'] != NULL) {
$parse['ali_int2'] = $bbcode->reemplazo($AllianceQuery['ally_text']);
$parse['ali_int'] = "<a href=\"#\" rel=\"toggle[interno]\">" . $lang['ac_view_text_int'] . "</a>";
} else {
$parse['ali_int'] = $lang['ac_no_text_int'];
}
if ($AllianceQuery['ally_request'] != NULL) {
$parse['ali_sol2'] = $bbcode->reemplazo($AllianceQuery['ally_request']);
$parse['ali_sol'] = "<a href=\"#\" rel=\"toggle[solicitud]\">" . $lang['ac_view_text_sol'] . "</a>";
} else {
$parse['ali_sol'] = $lang['ac_no_text_sol'];