Example #1
0
        $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++;
    }
}
Example #2
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>";
            }
        }
    }
}
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;
Example #3
0
 */
$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