本文整理汇总了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']);
示例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(