code stringlengths 1 2.01M | language stringclasses 1
value |
|---|---|
<?php
error_reporting(0);
//redirect for mobile (excl. tablets)
include 'includes/Mobile_Detect.php';
$detect = new Mobile_Detect;
if( $detect->isMobile() && !$detect->isTablet() ){
Header("Location: http://phone.forafreeworld.com/");
exit;
}
Header("Cache-Control: public, max-age=2592000");
Header("Content-... | PHP |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To chang e this template file, choose Tools | Templates
* and open the template in the editor.
*/
| PHP |
<?php
return array(
//'配置项'=>'配置值'
);
?> | PHP |
<?php
// 本类由系统自动生成,仅供测试用途
class IndexAction extends Action{
public function index(){
header("Content-Type:text/html; charset=utf-8");
echo "<div style='font-weight:normal;color:blue;float:left;width:345px;text-align:center;border:1px solid silver;background:#E8EFFF;padding:8px;font-size:14px;fo... | PHP |
<?php
$con=require 'config.php';
$fig=array(
//分组配置
'DEFAULT_GROUP'=>'Index',//Home将用作用户中心
/**
* Index:默认分组,即“信息分组”
* Home:用户个人中心
* Help:帮助分组,即FAQ系统
* About:内容管理系统
* Agent:代理(?用拼音)
* Public:公用操作----是不是可以不用分组?
*/
'APP_GROUP_LIST'=>'Agent,Bank,Help,Home,Index,... | PHP |
<?php
// 本类由系统自动生成,仅供测试用途
class IndexAction extends Action{
public function index(){
header("Content-Type:text/html; charset=utf-8");
echo "<div style='font-weight:normal;color:blue;float:left;width:345px;text-align:center;border:1px solid silver;background:#E8EFFF;padding:8px;font-size:14px;fo... | PHP |
<?php
echo'HELLO ====>';
echo "da chinh sua";
?> | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<div class="interests">
<h1>Find Friends</h1>
<form name="register" action="search_member.php?page=friend&id=<?php echo $uid; ?>" me... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<?php
$fname=$_POST['fname'];
$mname=$_POST['mname'];
$lname=$_POST['lname'];
$country=$_POST['country'];
$phone=$_POST['phone'];
... | PHP |
<?php include("includes/header.php"); ?>
<div class="wrapper">
<?php include("includes/logoarea.php"); ?>
<?php include("includes/navigation.php"); ?>
<div class="content">
<?php
if($p){
$dir="includes/".$p.".php";
include("$dir");
}
else{
include("incl... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<div class="interests">
<h1>Friend Requests</h1>
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot ... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<?php
$friend=$_POST['friend'];
$message=$_POST['message'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish con... | PHP |
<?php include("includes/header.php"); ?>
<div class="wrapper">
<?php
include("includes/logoarea.php");
include("includes/navigation.php");
?>
<div class="content">
<?php
$fname=$_POST['fname'];
$mname=$_POST['mname'];
$lname=$_POST['lname'];
$country=$_POST['country'];
$phone=$_POS... | PHP |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Form validation</title>
<script type="text/javascript">
functi... | PHP |
<?php $page="home"; ?>
<style type="text/css">
h1
{
padding-bottom:0px;
margin:0px;
}
</style>
<div class="interests">
<h1>Welcome</h1>
<p>
Welcome to DiscussCenter. Leave moments live!
DiscussCentre is developed for the discussion for the any topics as your i... | PHP |
<?php $p=$_GET['page']; ?>
<div class="navigation">
<ul>
<li><a class="<?php if($p=='home' or $p==''){ echo 'active';} ?>" href="index.php?page=home">Home</a></li>
<li><a class="<?php if($p=='login'){ echo 'active';} ?>" href="index.php?page=login">Login</a></li>
... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<p class="red">
<?php
$to=$_POST['userid'];
$from=$_GET['id'];
$con=mysql_connect("localhost","root","");
mysql_select_db(... | PHP |
<?php include("includes/header.php"); ?>
<div class="wrapper">
<?php include("includes/logoarea.php"); ?>
<?php include("includes/navigation.php"); ?>
<div class="content">
<h1>Search Results</h1>
<?php
$search=$_GET['search'];
$con=mysql_connect("localhost","root","") ... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<div class="interests">
<h1>Find Friends</h1>
<form name="register" action="search_member.php?page=friend&id=<?php echo $uid; ?>" me... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<?php
$name=$_POST['name'];
$country=$_POST['country'];
$age=$_POST['age'];
$phone=$_POST['phone'];
$intrests=$_POST['interests'];
... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<?php
$p=$_GET['page'];
$n=$_GET['num'];
if($p){
$dir="inc/".$p.$n.".php";
include("$dir");
}
else{
include("... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<div class="interests">
<h1>Friend Requests</h1>
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot ... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<?php
$friend=$_POST['friend'];
$message=$_POST['message'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish con... | PHP |
<?php
include("inc/header.php");
?>
<div class="wrapper">
<?php
include("inc/logoarea.php");
include("inc/navigation.php");
?>
<div class="content">
<p class="red">
<?php
$to=$_POST['userid'];
$from=$_GET['id'];
$con=mysql_connect("localhost","root","");
mysql_select_db(... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_mailbox where mail_to='$uid'",$con);
?>
<div class="interests">
<h1>Inbox</h1>
... | PHP |
<div class="interests">
<h1>Find Friends</h1>
<form name="register" action="search_member.php?page=friend&id=<?php echo $uid; ?>" method="post">
<table width="500" border="0" cellspacing="3" cellpadding="3">
<tr>
<td>Name:</td>
<td><input type="text" name="name" /></td>
</tr>
<tr hei... | PHP |
<?php
$tid=$_GET['topic'];
$category=$_GET['cat'];
?>
<h3><a href="index.php?page=home&id=<?php echo $uid; ?>">Discuss Home</a> > <?php echo $category; ?></h3>
<ul class="friend_requests">
<?php
$reply_message=$_POST['reply'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish con... | PHP |
<div class="interests">
<h1>My Friends</h1>
<ul class="friend_requests">
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tb... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$starter=mysql_query("select * from tbl_discuss where uid=$uid",$con);
$row=mysql_fetch_array($starter);
$startedby= $row['username'];
$category=$_GET['cat'];
$topic=... | PHP |
<div class="interests">
<h1>Friend Requests</h1>
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_friend where req_to='$uid... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_discuss where uid='$uid'",$con);
?>
<div class="interests">
<h1>My Profile</h1>
... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_friend where (req_from='$uid' or req_to='$uid') and accept='y'",$con);
?>
<div class="interests">
... | PHP |
<?php
$friend=$_GET['friend'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_discuss where uid='$friend'",$con);
?>
<div class="interests">
... | PHP |
<?php
$uid=$_GET['id'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Discussion Centre:Talk about anyt... | PHP |
<?php $category=$_GET['cat']; ?>
<h3><a href="index.php?page=home&id=<?php echo $uid; ?>">Discuss Home</a> > <?php echo $category=$_GET['cat']; ?></h3>
<form method="post" action="index.php?page=home&cat=<?php echo $category.'&num=3&id='.$uid; ?>">
<p>
<label>Topic:</label><input class="long" type="te... | PHP |
<?php include("includes/header.php"); ?>
<div class="wrapper">
<?php include("includes/logoarea.php"); ?>
<?php include("includes/navigation.php"); ?>
<div class="content">
<h1>Search Results</h1>
<?php
$search=$_GET['search'];
$con=mysql_connect("localhost","root","") ... | PHP |
<div class="interests">
<span class="breadcum"> <a href="index.php?page=home&id=<?php echo $uid; ?>">Discuss Home</a> » <?php echo $category=$_GET['cat']; ?>
<a class="button" href="index.php?page=home&num=2&cat=<?php echo $category.'&id='.$uid; ?>">Start new topic</a>
</span>
<div c... | PHP |
<div class="interests">
<h3>Choose your Interest for discussion</h3>
<ul>
<li><a href="index.php?page=home&cat=Technology&num=1&id=<?php echo $uid; ?>"><img src="../images/interests/computer.png" alt="TECHNOLOGY" /></a></li>
<li><a href="index.php?page=home... | PHP |
<?php $p=$_GET['page']; ?>
<div class="navigation">
<ul class="topnav">
<li><a class="<?php if($p=='home' or $p==''){ echo 'active';} ?>" href="index.php?page=home&id=<?php echo $uid; ?>">Discuss</a></li>
<li><a class="<?php if($p=='profile'){ echo 'active';} ?>" href="in... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$topic=$_GET['topic'];
$category=$_GET['cat'];
$message=mysql_query("select * from tbl_topics where tid=$topic",$con);
$row=mysql_fetch_array($message);
?>
<h3><a ... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_mailbox where mail_to='$uid'",$con);
?>
<div class="interests">
<h1>Inbox</h1>
... | PHP |
<div class="interests">
<h1>Find Friends</h1>
<form name="register" action="search_member.php?page=friend&id=<?php echo $uid; ?>" method="post">
<table width="500" border="0" cellspacing="3" cellpadding="3">
<tr>
<td>Name:</td>
<td><input type="text" name="name" /></td>
</tr>
<tr hei... | PHP |
<?php
$tid=$_GET['topic'];
$category=$_GET['cat'];
?>
<h3><a href="index.php?page=home&id=<?php echo $uid; ?>">Discuss Home</a> > <?php echo $category; ?></h3>
<ul class="friend_requests">
<?php
$reply_message=$_POST['reply'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish con... | PHP |
<div class="interests">
<h1>My Friends</h1>
<ul class="friend_requests">
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tb... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$starter=mysql_query("select * from tbl_discuss where uid=$uid",$con);
$row=mysql_fetch_array($starter);
$startedby= $row[username];
$category=$_GET['cat'];
$topic=$_... | PHP |
<div class="interests">
<h1>Friend Requests</h1>
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_friend where req_to='$uid... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_discuss where uid='$uid'",$con);
?>
<div class="interests">
<h1>My Profile</h1>
... | PHP |
<?php
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_friend where (req_from='$uid' or req_to='$uid') and accept='y'",$con);
?>
<div class="interests">
... | PHP |
<?php
$friend=$_GET['friend'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_discuss where uid='$friend'",$con);
?>
<div class="interests">
... | PHP |
<?php
$uid=$_GET['id'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MDiscussion Center::Talk about ... | PHP |
<?php $category=$_GET['cat']; ?>
<h3><a href="index.php?page=home&id=<?php echo $uid; ?>">Discuss Home</a> > <?php echo $category=$_GET['cat']; ?></h3>
<form method="post" action="index.php?page=home&cat=<?php echo $category.'&num=3&id='.$uid; ?>">
<p>
<label>Topic:</label><input class="long" type="te... | PHP |
<div class="interests">
<h3><a href="index.php?page=home&id=<?php echo $uid; ?>">Discuss Home</a> > <?php echo $category=$_GET['cat']; ?></h3>
<p>
<strong><a href="index.php?page=home&num=2&cat=<?php echo $category.'&id='.$uid; ?>">Start A New Topic</a></strong>
</p>
<div class="d... | PHP |
<?php $p=$_GET['page']; ?>
<div class="navigation">
<ul class="topnav">
<li><img src="../images/navi_sep.png" alt="|" /></li>
<li><a class="<?php if($p=='home' or $p==''){ echo 'active';} ?>" href="index.php?page=home&id=<?php echo $uid; ?>">Discuss</a><img src="../images/navi_sep.pn... | PHP |
<?php
$startedby=$_POST['startedby'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$topic=$_GET['topic'];
$category=$_GET['cat'];
$message=mysql_query("select * from tbl_topics where tid=$topic",$con);
$row=mysql... | PHP |
<?php
$username=$_POST['username'];
$password=$_POST['password'];
$con=mysql_connect("localhost","root","") or die("Couldnot establish connection with database server");
mysql_select_db("db_discuss",$con);
$display_query=mysql_query("select * from tbl_discuss where username='$username' and password='$password'",... | PHP |
<?php
/**
* Handles Comment Post to WordPress and prevents duplicate comment posting.
*
* @package WordPress
*/
if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) {
header('Allow: POST');
header('HTTP/1.1 405 Method Not Allowed');
header('Content-Type: text/plain');
exit;
}
/** Sets up the WordPress Environment. */
... | PHP |
<?php
/**
* Atom Publishing Protocol support for WordPress
*
* @version 1.0.5-dc
*/
/**
* WordPress is handling an Atom Publishing Protocol request.
*
* @var bool
*/
define('APP_REQUEST', true);
/** Set up WordPress environment */
require_once('./wp-load.php');
/** Atom Publishing Protocol Class */
require_o... | PHP |
<?php
/**
* Outputs the OPML XML format for getting the links defined in the link
* administration. This can be used to export links from one blog over to
* another. Links aren't exported by the WordPress export, so this file handles
* that.
*
* This file is not added by default to WordPress theme pages when outp... | PHP |
<?php
/**
* WordPress Cron Implementation for hosts, which do not offer CRON or for which
* the user has not set up a CRON job pointing to this file.
*
* The HTTP request to this file will not slow down the visitor who happens to
* visit when the cron job is needed to run.
*
* @package WordPress
*/
ignore_user... | PHP |
<?php
/**
* Used to set up and fix common variables and include
* the WordPress procedural and class library.
*
* Allows for some configuration in wp-config.php (see default-constants.php)
*
* @internal This file must be parsable by PHP4.
*
* @package WordPress
*/
/**
* Stores the location of the WordPress d... | PHP |
<?php
/**
* Bootstrap file for setting the ABSPATH constant
* and loading the wp-config.php file. The wp-config.php
* file will then load the wp-settings.php file, which
* will then set up the WordPress environment.
*
* If the wp-config.php file is not found then an error
* will be displayed asking the visitor t... | PHP |
<?php
/**
* Disable error reporting
*
* Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
*/
error_reporting(0);
/** Set ABSPATH for execution */
define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' );
define( 'WPINC', 'wp-includes' );
/**
* @ignore
*/
function __() {}
/... | PHP |
<?php
/**
* Multisite themes administration panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
require_once( './admin.php' );
wp_redirect( network_admin_url('themes.php') );
exit;
| PHP |
<?php
/**
* My Sites dashboard.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
require_once( './admin.php' );
if ( !is_multisite() )
wp_die( __( 'Multisite support is not enabled.' ) );
if ( ! current_user_can('read') )
wp_die( __( 'You do not have sufficient permissions to view this page.'... | PHP |
<?php
/**
* Retrieves and creates the wp-config.php file.
*
* The permissions for the base directory must allow for writing files in order
* for the wp-config.php to be created using this page.
*
* @internal This file must be parsable by PHP4.
*
* @package WordPress
* @subpackage Administration
*/
/**
* We ... | PHP |
<?php
/**
* Multisite delete site panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
require_once( './admin.php' );
if ( !is_multisite() )
wp_die( __( 'Multisite support is not enabled.' ) );
// @todo Create a delete blog cap.
if ( ! current_user_can( 'manage_options' ) )
wp_die(__( 'You... | PHP |
<?php
/**
* The custom header image script.
*
* @package WordPress
* @subpackage Administration
*/
/**
* The custom header image class.
*
* @since 2.1.0
* @package WordPress
* @subpackage Administration
*/
class Custom_Image_Header {
/**
* Callback for administration header.
*
* @var callback
* @s... | PHP |
<?php
/**
* Manage link administration actions.
*
* This page is accessed by the link management pages and handles the forms and
* AJAX processes for link actions.
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Administration Bootstrap */
require_once ('admin.php');
wp_reset_vars(ar... | PHP |
<?php
/**
* Network installation administration panel.
*
* A multi-step process allowing the user to enable a network of WordPress sites.
*
* @since 3.0.0
*
* @package WordPress
* @subpackage Administration
*/
define( 'WP_INSTALLING_NETWORK', true );
/** WordPress Administration Bootstrap */
require_once( '.... | PHP |
<?php
/**
* Install plugin administration panel.
*
* @package WordPress
* @subpackage Administration
*/
// TODO route this pages via a specific iframe handler instead of the do_action below
if ( !defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) )
define( 'IFRAME_REQ... | PHP |
<?php
// The JS here is purposefully obfuscated to preserve mystery and romance.
// If you want to see behind the curtain, visit http://core.trac.wordpress.org/ticket/15262
if ( !defined( 'ABSPATH' ) )
exit;
/** @ignore */
function dvortr( $str ) {
return strtr(
$str,
'\',.pyfgcrl/=\\aoeuidhtns-;qjkxbmwvz"<>PY... | PHP |
<?php
/**
* About This Version administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( './admin.php' );
$title = __( 'About' );
list( $display_version ) = explode( '-', $wp_version );
include( ABSPATH . 'wp-admin/admin-header.php' );
... | PHP |
<?php
/**
* Widgets administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( './admin.php' );
/** WordPress Administration Widgets API */
require_once(ABSPATH . 'wp-admin/includes/widgets.php');
if ( ! current_user_can('edit_theme_optio... | PHP |
<?php
/**
* Comment Management Screen
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Bootstrap */
require_once('./admin.php');
$parent_file = 'edit-comments.php';
$submenu_file = 'edit-comments.php';
wp_reset_vars( array('action') );
if ( isset( $_POST['deletecomment'] ) )
$action =... | PHP |
<?php
/**
* Privacy Options Settings Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Administration Bootstrap */
require_once('./admin.php');
if ( ! current_user_can( 'manage_options' ) )
wp_die( __( 'You do not have sufficient permissions to manage options for t... | PHP |
<?php
/**
* User Dashboard About administration panel.
*
* @package WordPress
* @subpackage Administration
* @since 3.4.0
*/
/** Load WordPress Administration Bootstrap */
require_once( './admin.php' );
require( '../about.php' ); | PHP |
<?php
/**
* Build User Administration Menu.
*
* @package WordPress
* @subpackage Administration
* @since 3.1.0
*/
$menu[2] = array(__('Dashboard'), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div');
$menu[4] = array( '', 'exist', 'separator1', '', 'wp-menu-separat... | PHP |
<?php
/**
* User Dashboard Freedoms administration panel.
*
* @package WordPress
* @subpackage Administration
* @since 3.4.0
*/
/** Load WordPress Administration Bootstrap */
require_once( './admin.php' );
require( '../freedoms.php' ); | PHP |
<?php
/**
* Edit user administration panel.
*
* @package WordPress
* @subpackage Administration
* @since 3.1.0
*/
require_once( './admin.php' );
require( '../user-edit.php' ); | PHP |
<?php
/**
* User Dashboard Administration Screen
*
* @package WordPress
* @subpackage Administration
* @since 3.1.0
*/
require_once( './admin.php' );
require( '../index.php' );
| PHP |
<?php
/**
* User Profile Administration Screen.
*
* @package WordPress
* @subpackage Administration
* @since 3.1.0
*/
require_once( './admin.php' );
require( '../profile.php' ); | PHP |
<?php
/**
* User Dashboard Credits administration panel.
*
* @package WordPress
* @subpackage Administration
* @since 3.4.0
*/
/** Load WordPress Administration Bootstrap */
require_once( './admin.php' );
require( '../credits.php' ); | PHP |
<?php
/**
* WordPress User Administration Bootstrap
*
* @package WordPress
* @subpackage Administration
* @since 3.1.0
*/
define('WP_USER_ADMIN', true);
require_once( dirname(dirname(__FILE__)) . '/admin.php');
if ( ! is_multisite() ) {
wp_redirect( admin_url() );
exit;
}
$redirect_user_admin_request = ( ( ... | PHP |
<?php
/**
* Post advanced form for inclusion in the administration panels.
*
* @package WordPress
* @subpackage Administration
*/
// don't load directly
if ( !defined('ABSPATH') )
die('-1');
wp_enqueue_script('post');
if ( wp_is_mobile() )
wp_enqueue_script( 'jquery-touch-punch' );
if ( post_type_supports($p... | PHP |
<?php
/**
* Update/Install Plugin/Theme administration panel.
*
* @package WordPress
* @subpackage Administration
*/
if ( ! defined( 'IFRAME_REQUEST' ) && isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) )
define( 'IFRAME_REQUEST', t... | PHP |
<?php
/**
* Edit Posts Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( './admin.php' );
if ( ! $typenow )
wp_die( __( 'Invalid post type' ) );
$post_type = $typenow;
$post_type_object = get_post_type_object( $post_type );
if... | PHP |
<?php
/**
* WordPress Administration Template Header
*
* @package WordPress
* @subpackage Administration
*/
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
if ( ! defined( 'WP_ADMIN' ) )
require_once( './admin.php' );
// In case admin-header.php is included in a ... | PHP |
<?php
/**
* Build Administration Menu.
*
* @package WordPress
* @subpackage Administration
*/
/**
* Constructs the admin menu bar.
*
* The elements in the array are :
* 0: Menu item name
* 1: Minimum level or capability required.
* 2: The URL of the item's file
* 3: Class
* 4: ID
* ... | PHP |
<?php
/**
* Import WordPress Administration Screen
*
* @package WordPress
* @subpackage Administration
*/
define('WP_LOAD_IMPORTERS', true);
/** Load WordPress Bootstrap */
require_once ('admin.php');
if ( !current_user_can('import') )
wp_die(__('You do not have sufficient permissions to import content in this... | PHP |
<?php
/**
* Multisite network settings administration panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
require_once( './admin.php' );
wp_redirect( network_admin_url('settings.php') ); | PHP |
<?php
/**
* Multisite users administration panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
require_once( './admin.php' );
wp_redirect( network_admin_url('users.php') );
exit;
| PHP |
<?php
/**
* Edit Comments Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('./admin.php');
if ( !current_user_can('edit_posts') )
wp_die(__('Cheatin’ uh?'));
$wp_list_table = _get_list_table('WP_Comments_List_Table');
$pag... | PHP |
<?php
/**
* Your Rights administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( './admin.php' );
$title = __( 'Freedoms' );
list( $display_version ) = explode( '-', $wp_version );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<... | PHP |
<?php
/**
* Accepts file uploads from swfupload or other asynchronous upload methods.
*
* @package WordPress
* @subpackage Administration
*/
define('WP_ADMIN', true);
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');
else
require_once('../wp-load.php');
// Flash often fails to send cookies with... | PHP |
<?php
/**
* Edit comment form for inclusion in another file.
*
* @package WordPress
* @subpackage Administration
*/
// don't load directly
if ( !defined('ABSPATH') )
die('-1');
?>
<form name="post" action="comment.php" method="post" id="post">
<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?>
<di... | PHP |
<?php
/**
* Edit user administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('./admin.php');
wp_reset_vars(array('action', 'redirect', 'profile', 'user_id', 'wp_http_referer'));
$user_id = (int) $user_id;
$current_user = wp_get_current... | PHP |
<?php
/**
* Revisions administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('./admin.php');
wp_enqueue_script('list-revisions');
wp_reset_vars(array('revision', 'left', 'right', 'action'));
$revision_id = absint($revision);
$left ... | PHP |
<?php
/**
* WordPress Options Header.
*
* Resets variables: 'action', 'standalone', and 'option_group_id'. Displays
* updated message, if updated variable is part of the URL query.
*
* @package WordPress
* @subpackage Administration
*/
wp_reset_vars(array('action', 'standalone', 'option_group_id'));
if ( isse... | PHP |
<?php
/**
* WordPress Administration Generic POST Handler.
*
* @package WordPress
* @subpackage Administration
*/
/** We are located in WordPress Administration Screens */
define('WP_ADMIN', true);
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');
else
require_once('../wp-load.php');
require_on... | PHP |
<?php
/**
* Media management action handler.
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Administration Bootstrap */
require_once('./admin.php');
$parent_file = 'upload.php';
$submenu_file = 'upload.php';
wp_reset_vars(array('action'));
switch( $action ) :
case 'editattachment' :
... | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.