当前位置: 首页>>代码示例>>PHP>>正文


PHP myclass::print_look_modals方法代码示例

本文整理汇总了PHP中myclass::print_look_modals方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::print_look_modals方法的具体用法?PHP myclass::print_look_modals怎么用?PHP myclass::print_look_modals使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在myclass的用法示例。


在下文中一共展示了myclass::print_look_modals方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: count

        $looks = $mc->get_looks_filtered($mno, $rate_style, $rate_gender, $rate_plus_blogger, $orderby, $start, $rate_limit, $table_name, $rate_look_topic);
        //
        echo "<br><BR>filtered looksfiltered looksfiltered looksfiltered looksfiltered looks<bbr><br><br><Br>";
        //                print_r($looks);
        //                echo "<br><br>";
        /*
            echo "<br>  rated look not elimated yet <br> ";
            echo " total look res ".count($looks).'<br>';
            $c=0;
            for ($i=0; $i < count($looks) ; $i++) {
                $c++;
                echo "  $c.)  ".$looks[$i]['plno'].' style = '.$looks[$i]['style'].' pltratings =  '.$looks[$i]['pltratings'].'<br>';
                $j = count($mylookrated);
            }
            echo " Rate Look Modals now <br> pagenum = $pagenum <br> start = $start <br> end = $end  <br> limit = $rate_limit  <br> rate_style = $rate_style  <br> rate_looks = $rate_looks <br> rate_status = $rate_status <BR> ";
            echo " <h4> rertrieved from database </h4> ";
            // print_r($looks);
            echo "<h4>  rated look was cleaned by elimation  </h4> ";
        */
        #display look  and fetch with rated and un rated.
        //$plnos = $mc->remove_rated_looks( $looks , $mylookrated ,  $rate_status  );
        $plnos = $mc->ratedUnrated($looks, $mylookrated, $rate_status, $table_name);
        //                echo "final result";
        //                print_r($plnos);
        $mc->print_look_modals($plnos, $table_name);
        break;
}
echo "</span> ";
?>

开发者ID:jesus143,项目名称:fs-dev,代码行数:29,代码来源:rate-look-modals.php

示例2: count

        	for ($i=0; $i < count($mylookrated) ; $i++) { 
        		$c++;
        		echo "  $c.)  ".$mylookrated[$i]['plno'].'<br>'; 
        	} 
        */
        #get look with filter
        $looks = $mc->get_looks_filtered($mno, $rate_style, $orderby, $start, $rate_limit);
        /*
        	echo "<br>  rated look not elimated yet <br> "; 
        	echo " total look res ".count($looks).'<br>';
        	$c=0;
        	for ($i=0; $i < count($looks) ; $i++) {    
        		$c++;
        		echo "  $c.)  ".$looks[$i]['plno'].' style = '.$looks[$i]['style'].' pltratings =  '.$looks[$i]['pltratings'].'<br>'; 
        		$j = count($mylookrated); 	 
        	} 
            echo " Rate Look Modals now <br> pagenum = $pagenum <br> start = $start <br> end = $end  <br> limit = $rate_limit  <br> rate_style = $rate_style  <br> rate_looks = $rate_looks <br> rate_status = $rate_status <BR> "; 
            echo " <h4> rertrieved from database </h4> ";
            // print_r($looks);
            echo "<h4>  rated look was cleaned by elimation  </h4> "; 
        */
        #display look  and fetch with rated and un rated.
        $plnos = $mc->remove_rated_looks($looks, $mylookrated, $rate_status);
        $mc->print_look_modals($plnos);
        break;
}
echo "</span> ";
?>
 

开发者ID:jesus143,项目名称:fs-dev,代码行数:28,代码来源:rate-look-modals+-+old+1.php

示例3: myclass

require "../../../fs_folders/php_functions/connect.php";
require "../../../fs_folders/php_functions/function.php";
require "../../../fs_folders/php_functions/library.php";
require "../../../fs_folders/php_functions/source.php";
require "../../../fs_folders/php_functions/myclass.php";
require "../../../fs_folders/php_functions/Class/User.php";
require "../../../fs_folders/php_functions/Class/Look.php";
$mc = new myclass();
$_SESSION['mno'] = $mc->get_cookie('mno', 136);
$mno = $mc->get_cookie('mno', 136);
//    $pagenum 	  = intval($_GET['pagenum']);
//    $rate_style   = mysql_real_escape_string($_GET['rate_style']);
//    $rate_looks   = $_GET['rate_looks'];
//    $rate_status  = $_GET['rate_status'];
//    $rate_limit   = intval($_GET['rate_limit']);
//    $retrievedas  = !empty( $_GET['retrievedas'] ) ? $_GET['retrievedas'] : null ;
$db->connect();
$user = new User($mno, $db);
$look = new Look($mno, $db);
$rate_style = $_GET['rate_style'];
$rate_gender = $_GET['rate_gender'];
$rate_plus_blogger = $_GET['rate_plus_blogger'];
$rate_latest = $_GET['rate_latest'];
$rate_status = $_GET['rate_status'];
echo "\n       {$rate_style}         = rate_style <br>\n       {$rate_gender}        = rate_gender <br>\n       {$rate_plus_blogger}  = rate_plus_blogger <br>\n       {$rate_latest}        = rate_latest <br>\n       {$rate_status}        = rate_status <br>\n    ";
$response = $look->ratingSort($rate_gender, $rate_plus_blogger, $rate_style, array('row' => $rate_latest, 'orderBy' => 'desc'), $rate_status, array('start' => 1, 'end' => 3, 'base' => 200));
print_r($response);
// echo "above is the response";
$mc->print_look_modals($response);
开发者ID:jesus143,项目名称:fs-dev,代码行数:29,代码来源:rate-look-modal-new.php


注:本文中的myclass::print_look_modals方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。