Exemple #1
0
 $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'];