示例#1
0
文件: index.php 项目: jesus143/fs-dev
        // 	$con->c++;
        // 	if ( $con->c == 9 )
        // 	{
        // // $con->c = 0;
        // $con->c = 1;
        //    $con->look  = false;
        // $con->blog  = false;
        // $con->photo = false;
        //    $con->user  = false;
        // $con->ads   = true;
        // 	}
        // }
        // $_SESSION['c'] = $con->c;
        // $_SESSION['ads_counter'] = $con->ads_counter;
        // end quee ads first of all
        $con->latest_activity_sorting($usr);
        ?>








			<?php 
        if ($con->ads and $con->ads_open) {
            if ($con->home_tab == 'lates') {
                $con->look = true;
                $con->blog = true;
                $con->photo = true;
示例#2
0
文件: index.php 项目: jesus143/fs-dev
			 			 		<span> 
				 			 		This 300 x 250 square block AD is placed prominently 
				 			 		above-the-fold on the feed. 
				 			 		This is the first AD readers will see.
			 			 		</span>
		 			 		</div>
			 			</div>
						<div id='padding_ads' style="<?php 
                echo "{$con->padding_ads_bottom}";
                ?>
" > </div>
				  	</li>

				  	<?php 
            } else {
                $con->latest_activity_sorting($mc, $ri, $i, $activity);
                // para rani sa mga picture walay labot ang ads
                if (!empty($con->latest_item)) {
                    $item = $con->latest_item;
                }
                if ($item == "plook") {
                    // echo " posted look";
                    // $plno = $activity[$i]['plno'];
                    // echo " look result";
                    // if ( file_exists($con->lookExist.$con->plno_pic.'.jpg' ) )
                    // 	{
                    ?>
								<li >   
									<div style="position:absolute;visibility:hidden;"> 
										<class>look_t<?php 
                    echo $con->plno;
示例#3
0
								</div>
								<img id="article_footer_bg" src="fs_folders/images/body/article/transparent rectangle.png">
							</td>
					</table>

				</div>
				<div id='article_padding'> </div>
			</li>
<?php 
    }
} else {
    // for ($h=$con->show_start ; $h < $con->show_end; $h++)
    for ($h = 0; $h < 9; $h++) {
        if ($con->i < $con->Tresults) {
            // $con->ads_counter($h);
            $con->latest_activity_sorting($mc, $ri, $con->i);
            if ($con->activity[$con->i]['type'] == 'ads' or $con->latest_look[$con->i]['type'] == 'ads' or $con->all_users[$con->i]['type'] == 'ads') {
                if (!empty($con->activity[$con->i]['ads_id'])) {
                    $ads = $con->activity[$con->i]['ads_id'];
                } else {
                    if (!empty($con->latest_look[$con->i]['ads_id'])) {
                        $ads = $con->latest_look[$con->i]['ads_id'];
                    } else {
                        if (!empty($con->all_users[$con->i]['ads_id'])) {
                            $ads = $con->all_users[$con->i]['ads_id'];
                        }
                    }
                }
                ?>
			 		<li > 
			 			<div id='padding_ads' style="<?php