當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。