本文整理匯總了PHP中myclass::init_latest_modals_separation方法的典型用法代碼示例。如果您正苦於以下問題:PHP myclass::init_latest_modals_separation方法的具體用法?PHP myclass::init_latest_modals_separation怎麽用?PHP myclass::init_latest_modals_separation使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類myclass
的用法示例。
在下文中一共展示了myclass::init_latest_modals_separation方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: intval
</head>
<body>
<div id='body_content'>
<div id="res" style="display:none" > home_res </div>
<div id='imgres' style='visibility: visible;display:none' > res </div>
<?php
// $res = $mc->get_activity( 100 );
// print_r($res);
// for ($i=0; $i < count($res) ; $i++) {
// $action = $res[$i]['action'];
// $ano = $res[$i]['ano'];
// echo " action = $action table id = $ano <br>";
// }
$r = $mc->get_activity(25);
$r = $mc->init_latest_modals_separation($r);
$modals_left = $r['init_latest_separated_modals_left'];
$modals_center = $r['init_latest_separated_modals_center'];
$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') {
示例2: intval
<td>
<div id='body_content'>
<div id="res" style="display:none" > home_res </div>
<div id='imgres' style='visibility: visible;display:none' > res </div>
<div style="color:black !important;" >
<?php
$mc->mysql_feed_query(array('type' => 'initialized', 'mno' => $mno, 'limit_start' => 0, 'limit_end' => 24, 'limit_end_following' => 100));
$mc->mysql_feed_query(array('type' => 'get-following'));
$mc->mysql_feed_query(array('type' => 'remove_duplicate'));
$mc->mysql_feed_query(array('type' => 'set-query'));
$response = $mc->mysql_feed_query(array('type' => 'query-to-activity-wall'));
// echo " this is the result of the query ".count($response)." <br> ";
// echo "<pre>";
// $mc->print_r1($response);
$r = $mc->init_latest_modals_separation($response);
$modals_left = $r['init_latest_separated_modals_left'];
$modals_center = $r['init_latest_separated_modals_center'];
$modals_right = $r['init_latest_separated_modals_right'];
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' || $_table == 'fs_member_profile_pic') {
echo " <td> ";
// $mc-> modals_memeber( $ano , 'init' );
$mc->modal_version1_member($ano, 'init');