本文整理汇总了PHP中myclass::modal_version1_look方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::modal_version1_look方法的具体用法?PHP myclass::modal_version1_look怎么用?PHP myclass::modal_version1_look使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::modal_version1_look方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: intval
$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') {
}
}
}
}
}
$counter++;
}
}
示例2: intval
$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>";
}
}
}
}
echo " </table> ";
echo "\n\t\t\t\t\t\t \t\t\t\t\t\t\t\t<div id='home_res1' >\n\t\t\t\t\t\t \t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t \t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t \t\t\t\t\t\t\t<li id='li_res2' >\n\t\t\t\t\t\t \t\t\t\t\t\t\t";
echo " <table border='0' cellspacing='0'cellpadding='0' > ";
$c = 0;
$totalads = 0;
示例3: count
*/
$response = $mc->profile_tab_query(array('type' => 'details-feed', 'page' => $page, 'tab' => $tab, 'mno' => $mno1, 'limit_start' => $limit_start, 'limit_end' => $limit_end, 'orderby' => $orderby, 'like' => $like, 'sub' => $sub, 'category' => $category, 'whereCompose' => " mno <> {$mno1}"));
$response_len = count($response);
echo "<pre>";
print_r($response);
/**
* printing the data
*/
for ($i = 0; $i < $response_len; $i++) {
if ($tab == 'blogs') {
$artno = $response[$i]['artno'];
$mc->modal_version1_article($artno, '../../../', '../../../', 'display:none', 'display:block;', 'rate-page');
} else {
$plno = $response[$i]['plno'];
// $mc->modal_version1_look ( $plno , '../../../' , '../../../' , 'display:none;' , null , 'profile-tab-look' );
$mc->modal_version1_look($plno, '../../../', '../../../', 'display:none', 'display:block;', 'rate-look');
}
}
/**
* View more button print
*/
?>
<div style="display:none" >
<showmore>
<center><div id='more_loading' > <img src="fs_folders/images/attr/loading 2.gif" style="visibility:hidden;height:10px;" > </div> </center>
<img
id="more"
style="margin-left:3px;"
src="fs_folders/images/genImg/home-more-button.png"
onclick="more_click ( '<?php