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


PHP myclass::save_current_page_visited方法代码示例

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


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

示例1: myclass

<?php

require "fs_folders/php_functions/connect.php";
require "fs_folders/php_functions/function.php";
require "fs_folders/php_functions/myclass.php";
require "fs_folders/php_functions/library.php";
require "fs_folders/php_functions/source.php";
$mc = new myclass();
$mc->auto_detect_path();
$mc->save_current_page_visited();
// $is_cookie_set   =  $mc->set_cookie( 'mno' , 130 , time()+3600*24 );
$_SESSION['mno'] = $mc->get_cookie('mno', 136);
$mno = $mc->get_cookie('mno', 136);
$variables = array();
// $mno = 133;
$limit_start = 0;
$limit_end = 10;
// response from table fs_message and lits of your all messages
$variables['response'] = $mc->fs_message(array('type' => 'get-all-message-id', 'mno' => $mno, 'orderby' => 'order by date asc', 'limit_start' => $limit_start, 'limit_end' => $limit_end));
// $mc->print_r1( $variables['response'] );
//  your all messages len
$variables['len'] = count($variables['response']);
?>

<table border="1" cellpadding="0" cellspacing="0" >
	<?php 
$limit_start = 0;
$limit_end = 1;
for ($i = 0; $i < $variables['len']; $i++) {
    //  each msgno
    $variables['msgno'] = intval($variables['response'][$i]['msgno']);
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:chat-list.php

示例2: myclass

<?php 
	require("fs_folders/php_functions/connect.php");    
	require("fs_folders/php_functions/function.php");
	require("fs_folders/php_functions/myclass.php");
	require("fs_folders/php_functions/library.php");
 	require("fs_folders/php_functions/source.php");
 	$mc = new myclass();   
 	$_SESSION['mno'] =  $mc->get_cookie( 'mno' , 136 );  
 	$mno 			 =  $mc->get_cookie( 'mno' , 136 );  

 	#retrieved ads based on the category  
	if ( $mno != 136 ) {   
		$look_style = $mc->get_look_style_and_save_look_keyword( ); 
		$ads = $mc->retrieved_ads_based_on_categories( $look_style );   
	} else{
		$mc->save_current_page_visited( 'post-look-upload' );
	}  



?>  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>  
	<head>

 

	
		<?php 
			$mc->header_attribute( 
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:post-look-read.php


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