本文整理汇总了PHP中myclass::modal_version1_member方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::modal_version1_member方法的具体用法?PHP myclass::modal_version1_member怎么用?PHP myclass::modal_version1_member使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::modal_version1_member方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: intval
$modals_right = $r['init_latest_separated_modals_right'];
// echo " <span style='color:black' > ";
// $mc->print_r1($r);
// echo "</span> ";
echo "\n\t\t\t\t\t\t\t\t\t \t\t\t<div id='res_container'>\n\t\t\t\t\t\t\t\t\t \t\t\t\t<li id='li_res1'>";
echo " <table border='0' cellspacing='0'cellpadding='0' > ";
$modalc = 0;
for ($i = 0; $i < count($modals_left); $i++) {
// for ($i=0; $i < 0 ; $i++) {
$modalc++;
$_table = $modals_left[$i]['_table'];
$ano = intval($modals_left[$i]['ano']);
if ($_table == 'fs_members' or $_table == 'fs_member_profile_pic') {
echo " <td> ";
// $mc-> modals_memeber( $ano , 'init' );
$mc->modal_version1_member($ano, 'init');
echo " </td><tr>";
} else {
if ($_table == 'postedlooks') {
echo " <td>";
// $mc->modals_look_init( $ano );
$mc->modal_version1_look($ano);
echo "</td><tr>";
} else {
if ($_table == 'fs_postedarticles') {
echo " <td>";
$mc->modal_version1_article($ano);
echo "</td><tr>";
}
}
}
示例2: intval
//increment the counter
# add 1 so that when click view more another different modals will show
// $_SESSION['counter']++;
for ($i = $start; $i < $end; $i++) {
if ($i < $act_len) {
$ano = intval($r[$i]['ano']);
$mno = intval($r[$i]['mno']);
$action = $r[$i]['action'];
$_table = $r[$i]['_table'];
$_table_id = intval($r[$i]['_table_id']);
$_date = intval($r[$i]['_date']);
$active = intval($r[$i]['active']);
// echo " tres = $tres ano = $ano mno= $mno action = $action _table = $_table _table_id = $_table_id _date = $_date active = $active <br>";
if ($_table == 'fs_members') {
// $mc->modals_memeber( $ano );
$mc->modal_version1_member($ano, null, '../../../');
} else {
if ($_table == 'postedlooks') {
// $mc->modals_look( $_table_id , null , 'home' );
// $mc->modals_look( $ano , null , 'home' );
$mc->modal_version1_look($ano, '../../../', '../../../');
} else {
if ($_table == 'fs_postedarticles') {
$mc->modal_version1_article($ano, '../../../', '../../../');
} else {
if ($_table == 'postedmedia') {
} else {
if ($_table == 'postedads') {
}
}
}