本文整理汇总了PHP中myclass::get_visitor_info方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::get_visitor_info方法的具体用法?PHP myclass::get_visitor_info怎么用?PHP myclass::get_visitor_info使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::get_visitor_info方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: intval
}
*/
echo " get " . $_GET['id'] . '<br>';
$plno = $_GET['id'];
$plno = $mc->clean_input($plno);
if ($mc->look_exist($plno)) {
} else {
// $mc->go("/");
}
$mc->auto_detect_path();
$_SESSION['plno'] = $plno;
// $plno = $plno;
$img = "{$mc->look_folder_lookdetails}/{$plno}.jpg";
$modal['table_name'] = 'postedlooks';
$modal['table_id'] = $plno;
$mc->get_visitor_info("", "lookdetails page lookid = {$plno} ", "home");
$nno = !empty($_GET['nno']) ? intval($_GET['nno']) : 0;
# UPDATE NOTIFICATION AS VIEWED
if ($nno != 0) {
$response = $mc->posted_modals_notification_Query(array('nno' => $nno, 'notification_query' => 'set-notification-viewed'));
}
# get image src
$modal['src'] = $mc->image(array('table_name' => $modal['table_name'], 'table_id' => $modal['table_id'], 'type' => 'get-default-image-src', 'size' => 'detail'));
// echo " this is the src $modal[src] <br> ";
# initialized 2
$li = $mc->posted_look_info($_GET['id']);
$_SESSION['plno'] = $_GET['id'];
$date_ = $li['date_'];
$lookOwnerMno = intval($li["lookOwnerMno"]);
$mno1 = intval($li["lookOwnerMno"]);
$memFsInfo = $mc->get_user_full_fs_info($mno1);
示例2: myclass
<?php
require("fs_folders/php_functions/connect1.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( );
// echo " all ads connected here and redirect to their original websites and must be saved also to fs database in order to records the ads stat.";
$ads_location = str_replace(" ",".", $_GET["loc"]);
$mc->get_visitor_info( "" , " [ advertisement clicked ] = link $ads_location " , "home" );
$ads_location = $mc->generate_url( $ads_location );
?>
<?php
// $mc->header_attribute(
// "Fashion Sponge | OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration " ,
// "FASHION SPONGE IS THE EASIEST AND FASTEST WAY TO... Show your OOTD, see the lastest trends, discover new fashion blogs, get beauty and style tips and get fashion inspiration.",
// "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration "
// );
$mc->go($ads_location);
?>
示例3: myclass
$mc = new myclass();
if (isset($_POST['submit'])) {
// echo "submit clicked!";
$invited_fn = $_POST['invited_fn'];
$invited_ln = $_POST['invited_ln'];
$invited_email = $_POST['invited_email'];
$invited_wob = $_POST['invited_wob'];
$invited_occu = $_POST['invited_occu'];
$invited_style = $_POST['invited_style'];
$invited_offer = $_POST['invited_offer'];
$mc->insert_invited($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$mc->send_email_to_admin($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$mc->send_email_to_user($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$response_text = true;
} else {
$mc->get_visitor_info("", "invite");
$response_text = false;
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
$mc->header_attribute("Sign Up | Fashion Sponge", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
?>
示例4: basename
// popularmembers
// populararticles
// popularmedia
// $_SESSION["mno"] = 134;
// echo " full url = ".basename($_SERVER["PHP_SELF"]);
// redirect when not login
if ($mno == 136) {
$mc->go('signup');
}
$fs_home_tab = basename($_SERVER["PHP_SELF"]);
$fs_home_tab = str_replace(".php", "", $fs_home_tab);
if ($fs_home_tab == "index") {
$fs_home_tab = "latest";
}
// echo " fs tab = $fs_home_tab <br>";
$mc->get_visitor_info("", "home tab: {$fs_home_tab} ", "home");
if ($fs_home_tab == "index") {
$clock_style = "display:none";
} else {
$clock_style = "display:none";
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
// echo strlen("FASHION SPONGE IS THE EASIEST AND FASTEST WAY TO... Show your OOTD, see the latest fashion trends, discover new fashion blogs, get beauty and style tips");
$mc->header_attribute("OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration | Fashion Sponge ", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
if ($mno != 136) {
$mc->login_popup($mno, !empty($_GET['welcome']) ? $_GET['welcome'] : null);
示例5: 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->get_visitor_info( "" , "postalook" );
$_SESSION['mno'] = $mc->get_cookie( 'mno' , 136 );
$mno = $mc->get_cookie( 'mno' , 136 );
$dateTime = $mc->date_time;
$rotate = $_POST['rotate'];
$agree = $_POST['agree'];
$err="";
$errors=0;
if ( isset($_POST['uploadNow']) ) {
$userfile_name = $_FILES['image']['name'];
list($width, $height, $type, $attr) = getimagesize($_FILES['image']['tmp_name']);
$fext = get_file_extension($userfile_name);
if ($fext == 'jpg' or $fext == 'jpeg' or $fext == 'png' or $fext == 'PNG' ) {
if($width >= 140 && $height >= 140 ) {
if ( $_SESSION['post_a_look_is_look_upload_once_in_db'] == false ) {
// $mc->jQuery_text_processing( 'process-container' , 'New image inserted to database..' );
$_SESSION['post_a_look_is_look_upload_once_in_db'] = true;
insert(
'postedlooks',
示例6: dropdown
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";
require "fs_folders/dropdown/dropdown_php_file/dropdown.php";
$dd = new dropdown();
$mc = new myclass();
$mc->auto_detect_path();
// $mc->get_visitor_info( "" , "info" );
if (!empty($_GET["infp"])) {
$infp = $_GET["infp"];
// echo "$infp";
} else {
$infp = "about_us";
}
$mc->get_visitor_info("", "info tab: {$infp} ", "info");
?>
<html>
<head>
<?php
$mc->header_attribute(" Info | Fashion Sponge", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
?>
<link rel="stylesheet" type="text/css" href="fs_folders/info/info_style_file/info_style.css">
<!-- new inner script -->
<script type="text/javascript" src="fs_folders/info/info_js_file/info_ajax.js" ></script>
<script type="text/javascript" src="fs_folders/info/info_js_file/info_jquery.js" ></script>
<!-- end inner script -->