• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP COMMONFUNC类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中COMMONFUNC的典型用法代码示例。如果您正苦于以下问题:PHP COMMONFUNC类的具体用法?PHP COMMONFUNC怎么用?PHP COMMONFUNC使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



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

示例1: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADCatagory.php
##	Create Date	:		10106/2011
##  Description :		It is use to performe the operation for add for Catagory.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
//for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "10";
$error_msg = '';
$flag = 0;
$fldEventStatus = 1;
if ($_POST['isSubmit'] == 'save') {
    /* Validation Area Start*/
    hb_php_validate($_POST['fldEventName'], "Please Enter Special Event Name!");
    hb_php_validate($_POST['fldEventLocation'], "Please Enter Special Event Loacation!");
    hb_php_validate($_POST['fldEventStartDate'], "Please Enter Special Event Start Date!");
    hb_php_validate($_POST['fldEventcurrentprice'], "Please Enter Special Event Current Price!");
    hb_php_validate($_POST['fldEventfutureprice'], "Please Enter Special Event Future Price!");
    hb_php_validate($_POST['Early_Discount_day'], "Please Enter Early Discount Day!");
    hb_php_validate($_POST['Early_discount_rate'], "Please Enter Early Discount Price!");
    hb_php_validate($_POST['Transcript_discount'], "Please Enter Transcript Discount Price!");
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADSpecialEvent.php


示例2: session_start

<?php

include_once "inc/common_functions.php";
include_once "inc/page.inc.php";
session_start();
$func = new COMMONFUNC();
$db = new DB();
$flag = 0;
/*
 * checks all active subscriptions in the database
 * to see if they need to be billed again
 */
require_once 'anet_php_sdk/AuthorizeNet.php';
require_once 'AuthorizeNetMerchantAccount.php';
// gets today's date
$today = date('Y-m-d');
// gets all active records with a next bill date equal to today
$query = "SELECT * FROM " . TBL_COLLEGE_SUBSCRIPTION . " WHERE fldActive=1 AND fldNextBillDate='{$today}'";
$db->query($query);
// loops through all matching records, gets the customer's customer profile ID, the payment profile ID, and bills them for the subscription renewal. If the transaction faisl, the subscription is canceled
while ($db->next_record()) {
    $fldId = $db->f('fldId');
    $fldType = $db->f('fldType');
    $fldCoach = $db->f('fldCoach');
    $fldAmount = $db->f('fldAmount');
    $fldPaymentProfileId = $db->f('fldPaymentProfileId');
    // gets the customer profile Id
    $query = "SELECT fldFirstName,fldLastName," . "fldANetCustomerProfileId,fldEmail FROM " . TBL_COLLEGE_COACH_REGISTER . " WHERE fldId={$fldCoach}";
    $db1->query($query);
    $db1->next_record();
    $fldFirstName = $db1->f('fldFirstName');
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:31,代码来源:cronAuthorizeNet.php


示例3: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADCatagoryEdit.php
##	Create Date	:		10106/2011
##  Description :		It is use to performe the operation for edit for Catagory Information.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
//for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "2";
$error_msg = '';
$flag = 0;
$tbl_transportation_discount = 'tbl_transportation_discount';
$id = $_GET['id'];
$fldEventId = $_REQUEST['fldEventId'];
/*if(isset($_REQUEST['id']) && $_REQUEST['id']!='')
{
	echo $q="select * from '".$tbl_coupon."' where id='".$Couponid."'";
			
	$db->query($q);
	if ($db->num_rows()>0) {
		while($db->next_record())
		{	echo $coupon_name=$func->output_fun($db->f('cpn_number'));
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADTransportationEdit.php


示例4: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADTeam.php
##	Create Date	:		10106/2011
##  Description :		It is use to performe the operation for add for Team.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
//for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "10";
$error_msg = '';
$flag = 0;
$fldStatus = 1;
if ($_POST['isSubmit'] == 'save') {
    //Edit the user info
    $fldTitle = $func->input_fun($_POST['fldTitle']);
    $fldDescription = $func->input_fun($_POST['fldDescription']);
    $fldStatus = $func->input_fun($_POST['fldStatus']);
    $whereClause = "fldTitle='" . $func->input_fun($_POST['fldTitle']) . "'";
    if ($db->MatchingRec("tbl_notes", $whereClause) > 0) {
        #user Username already exists
        $error_msg = 'This Note Already Exists!';
        $flag++;
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADNotes.php


示例5: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADPageList.php
##	Create Date	:		13/06/2011
##  Description :		It is use to show the listig of Page.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
// for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$page = new Page();
//Create an instance of class Pate
$lnb = "2";
$error_msg = '';
$srchCond = '';
if (!$searchname) {
    $searchname = $_REQUEST['searchname'];
}
$searchname = addslashes($searchname);
if (strlen($searchname) > 0) {
    $queryString = "searchname={$searchname}";
    $srchCond = "AND fldEventName like '%" . $searchname . "%'";
}
if ($_REQUEST['mode'] == "del") {
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADEventList.php


示例6: session_start

<?php

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Narendra Singh
##	Page name	:		sendmsgtoath.php
##	Create Date	:		19/07/2011
##  Description :		It is use to send the message to athlete.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
session_start();
include_once "inc/common_functions.php";
//for common function
include_once "inc/config.inc.php";
//for paging
$func = new COMMONFUNC();
$db = new DB();
$fldAthleteid = isset($_REQUEST["fldAthleteid"]) ? $_REQUEST["fldAthleteid"] : 0;
$fldYoutubelink = "";
$fldYoutubeModifiedDate = "";
$youID = "";
$error_msg = "";
if ($_POST['isSubmit'] == 'save') {
    $nowToday = date('Y-m-d H:i:s');
    $fldNoteID = $func->input_fun($_POST['fldNoteID']);
    if ($fldNoteID <= 0 || $fldNoteID == "") {
        $error_msg = '<div class="thankyoumessage" style="margin-right:29px;">Please select Note.</div>';
    } else {
        $strDataArr = array('fldAthleteId' => $fldAthleteid, 'fldNoteId' => $fldNoteID, 'fldPostDate' => $nowToday);
        $db->insertRec("tbl_athlete_notes", $strDataArr, "");
        $error_msg = '
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:31,代码来源:add_user_notes.php


示例7: session_start

<?php

include_once 'inc/common_functions.php';
include_once 'inc/page.inc.php';
// TODO: Add a form token to make sure people aren't spoofing form data
session_start();
if ($_SESSION['mode'] == "" or $_SESSION['FRONTEND_USER'] == "") {
    header("Location:index.php");
}
$func = new COMMONFUNC();
$db = new DB();
$flag = 0;
/*
 * gets coach information. This is used to pre-fill form fields 
 * and provide necessary data for the Authorize.net transaction
 */
$query = 'SELECT * FROM ' . TBL_COLLEGE_COACH_REGISTER . " WHERE fldUserName='" . $_SESSION[FRONTEND_USER] . "'";
$db->query($query);
$db->next_record();
$fldCoach = $db->f('fldId');
$fldCollegename = $db->f('fldCollegename');
$fldtransectionId = $db->f('fldtransectionId');
$fldCancelCount = $db->f('fldCancelCount');
$fldSubscribe = $db->f('fldSubscribe');
// gets all active subscriptions for the current user
// gets available subscription types for the form
$table = TBL_COLLEGE_SUBSCRIPTION;
$fields = 'fldId,fldType,fldSport';
$where = 'WHERE fldCoach=' . $fldCoach . ' AND fldActive=1';
$subsList = $func->selectTableOrder($table, $fields, 'fldId', $where);
$subsCount = count($subsList);
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:31,代码来源:CancelSubscription.php


示例8: session_start

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Narendra Singh
##	Page name	:		sendmsgtoath.php
##	Create Date	:		19/07/2011
##  Description :		It is use to send the message to athlete.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "inc/common_functions.php";
//for common function
include_once "inc/page.inc.php";
include_once "inc/config.inc.php";
session_start();
//for paging
$func = new COMMONFUNC();
$db = new DB();
?>
<!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>Messaging</title>
		<META NAME="Keywords" CONTENT="My Account">
		<META NAME="Description" CONTENT="My Account">
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<script language="Javascript" src="javascript/functions.js"></script>
		<script language="JavaScript" type="text/JavaScript"></script>
	</head>
	<body>
		<!--middle panel starts from here -->
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:AthOppcomments.php


示例9: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADPageList.php
##	Create Date	:		13/06/2011
##  Description :		It is use to show the listig of Page.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
// for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$page = new Page();
//Create an instance of class Pate
$lnb = "2";
$error_msg = '';
$srchCond = '';
if (!$searchname) {
    $searchname = $_REQUEST['searchname'];
}
$searchname = addslashes($searchname);
if (strlen($searchname) > 0) {
    $queryString = "searchname={$searchname}";
    $srchCond = "AND fldName like '%" . $searchname . "%'";
}
if ($_REQUEST['mode'] == "del") {
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADAthleteCatagoryList.php


示例10: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADTeamEdit.php
##	Create Date	:		10106/2011
##  Description :		It is use to performe the operation for edit for Team Information.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
//for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "2";
$error_msg = '';
$flag = 0;
$fldId = $_GET['fldId'];
if ($_GET['mode'] == 'edit' and $fldId != "") {
    #get the records
    $query = " Select * from " . TBL_HS_AAU_TEAM_OTHER . " where fldId =" . $fldId;
    $db->query($query);
    $db->next_record();
    if ($db->num_rows() > 0) {
        $db->query($query);
        $db->next_record();
        $fldName = $db->f('fldName');
        $fldAddress = $db->f('fldCoachName');
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:HSOtherUpdate.php


示例11: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADPageList.php
##	Create Date	:		13/06/2011
##  Description :		It is use to show the listig of Page.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
// for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$page = new Page();
//Create an instance of class Pate
$lnb = "2";
$error_msg = '';
//$searchname=$_REQUEST['hidVal'];
$srchCond = '';
if (!$searchname) {
    $searchname = $_REQUEST['searchname'];
}
$searchname = addslashes($searchname);
if (strlen($searchname) > 0) {
    $queryString = "searchname={$searchname}";
    $srchCond = "AND fldPageTitle like '%" . $searchname . "%'";
}
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADPageList.php


示例12: session_start

<?php

include_once "inc/common_functions.php";
//for common function
include_once "inc/page.inc.php";
session_start();
if ($_SESSION['FRONTEND_USER'] == "") {
    header("Location:index.php");
}
//for paging
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$page = new Page();
//Create an instance of class Pate
$lnb = "2";
$error_msg = '';
$srchCond = '';
if ($_SESSION['mode'] == "athlete") {
    $athlete_info = $func->selectTableOrder(TBL_ATHELETE_REGISTER, "fldId,fldUsername,fldSchool,fldSport", "fldId", " where fldUsername='" . $_SESSION['FRONTEND_USER'] . "'");
}
if (!$searchname) {
    $searchname = $_REQUEST['searchname'];
}
$searchname = addslashes($searchname);
if (strlen($searchname) > 0) {
    $queryString = "searchname={$searchname}";
    $srchCond = "AND fldEventName like '%" . $searchname . "%'";
}
if ($_REQUEST['mode'] == "del") {
    $fldEventId = $_REQUEST['fldEventId'];
    $delete_query_details = "delete from " . TBL_EVENT . " where fldEventId=" . $fldEventId;
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:31,代码来源:ViewCalender.php


示例13: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADCatagoryEdit.php
##	Create Date	:		10106/2011
##  Description :		It is use to performe the operation for edit for Catagory Information.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
//for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "2";
$error_msg = '';
$flag = 0;
$fldEventId = $_GET['fldEventId'];
if ($_GET['mode'] == 'edit' and $fldEventId != "") {
    #get the records
    $query = " Select * from " . TBL_SPECIAL_EVENT . " where fldEventId =" . $fldEventId;
    $db->query($query);
    $db->next_record();
    if ($db->num_rows() > 0) {
        $db->query($query);
        $db->next_record();
        $fldEventName = $db->f('fldEventName');
        $fldSport = $db->f('fldSport');
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADSpecialEventEdit.php


示例14: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADCatagoryEdit.php
##	Create Date	:		10106/2011
##  Description :		It is use to performe the operation for edit for Catagory Information.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
//for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "2";
$error_msg = '';
$flag = 0;
$fldId = $_GET['fldId'];
if ($_GET['mode'] == 'edit' and $fldId != "") {
    #get the records
    $query = " Select * from " . TBL_ATHLETE_STATS_CATAGORY . " where fldId =" . $fldId;
    $db->query($query);
    $db->next_record();
    if ($db->num_rows() > 0) {
        $db->query($query);
        $db->next_record();
        $fldName = $db->f('fldName');
        $fldNameint = $db->f('fldNameint');
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADAthleteCatagoryEdit.php


示例15: session_start

<?php

include_once "inc/common_functions.php";
//for common function
include_once "inc/page.inc.php";
include_once "inc/config.inc.php";
//for paging
session_start();
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "10";
$error_msg = '';
$flag = 0;
function getExtension($str)
{
    $i = strrpos($str, ".");
    if (!$i) {
        return "";
    }
    $l = strlen($str) - $i;
    $ext = substr($str, $i + 1, $l);
    return $ext;
}
if ($_POST['isSubmit'] == 'save') {
    //Edit the user info
    $fldSchoolname = $func->input_fun($_POST['fldSchoolname']);
    $fldUserName = $func->input_fun($_POST['fldUserName']);
    //$city        = $func->input_fun($_POST['city']);
    $whereClause = "fldUserName='" . $fldUserName . "'";
    if ($db->MatchingRec(TBL_HS_AAU_TEAM, $whereClause) > 0) {
        #user Username already exists
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:31,代码来源:SchoolRegistration.php


示例16: COMMONFUNC

##******************************************************************
##  Project		:		Reusable Component- Synapse - Admin Panel
##  Done by		:		Manish Arora
##	Page name	:		ADUserEdit.php
##	Create Date	:		23/06/2009
##  Description :		It is use to perform the operation for add/edit/delete for User.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
// for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$lnb = "2";
$error_msg = '';
$flag = 0;
$fldId = $_GET['fldId'];
if ($_GET['mode'] == 'edit' and $fldId != "") {
    #get the records
    $query = " Select * from " . TBL_ATHELETE_REGISTER . " where fldId = '{$fldId}' ";
    $db->query($query);
    $db->next_record();
    if ($db->num_rows() > 0) {
        $db->query($query);
        $db->next_record();
        $fldUsername = $db->f('fldUsername');
        $fldEmail = $db->f('fldEmail');
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADAthleteEdit.php


示例17: COMMONFUNC

<?php

include_once "inc/common_functions.php";
//for common function
include_once "inc/page.inc.php";
include_once "inc/config.inc.php";
$func = new COMMONFUNC();
$db = new DB();
$fldTransportation = $_REQUEST['tp_id'];
$tbl_transportation_discount = 'tbl_transportation_discount';
$q = $_REQUEST["q"];
$que = "select * from " . $tbl_transportation_discount . " where Event_id='" . $q . "'";
$db->query($que);
if ($db->num_rows() > 0) {
    ?>
<p>
	<label>Select Transportation:</label>
	<span>
	
	<select name="fldTransportation" id="fldTransportation" onchange="transport_charge(this.value)">
		 <option value="0">I have my own transportation</option>
	<?php 
    while ($db->next_record()) {
        $id = $func->output_fun($db->f('id'));
        $Event_id = $func->output_fun($db->f('Event_id'));
        $Diparture_City = $func->output_fun($db->f('Diparture_City'));
        $Departure_Time = $func->output_fun($db->f('Departure_Time'));
        $Transportation_charge = $func->output_fun($db->f('Transportation_charge'));
        $Diparture_City . " departing at " . $Departure_Time;
        ?>
  		          	         
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ajax_transport_dicount.php


示例18: session_start

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Narendra Singh
##	Page name	:		sendmsgtoath.php
##	Create Date	:		19/07/2011
##  Description :		It is use to send the message to athlete.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
session_start();
include_once "inc/common_functions.php";
//for common function
include_once "inc/page.inc.php";
include_once "inc/config.inc.php";
//for paging
$func = new COMMONFUNC();
$db = new DB();
?>
<!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>Messaging</title>
		<META NAME="Keywords" CONTENT="My Account">
		<META NAME="Description" CONTENT="My Account">
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<script language="Javascript" src="javascript/functions.js"></script>
		<script type="text/javascript">
                  
           function validate() {
                var error_msg = "";    
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:sendmsgtoath.php


示例19: COMMONFUNC

		<?php 
##******************************************************************
##  Project		:		Reusable Component- Synapse - Admin Panel
##  Done by		:		Manish Arora
##	Page name	:		ADUserDetails.php
##	Create Date	:		23/06/2009
##  Description :		It is use to show the details of User.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
?>

		<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
		<HTML>
		<HEAD>
		<TITLE>Coach Details</TITLE>
		<link href="css/styles.css" rel="stylesheet" type="text/css">
		</HEAD>
		<BODY>
		<?php 
$fldId = $_REQUEST['fldId'];
$query = "Select * from " . TBL_SPORTS . " where fldId = '{$fldId}' ";
$db->query($query);
$db->next_record();
$fldId = $db->f('fldId');
$fldSportsname = $func->output_fun($db->f('fldSportsname'));
$fldDescription = $func->output_fun($db->f('fldDescription'));
$fldStatus = $func->output_fun($db->f('fldStatus'));
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:31,代码来源:ADSportDetails.php


示例20: COMMONFUNC

##******************************************************************
##  Project		:		Sport Social Networking - Admin Panel
##  Done by		:		Sanjay Chaudhary
##	Page name	:		ADPageList.php
##	Create Date	:		13/06/2011
##  Description :		It is use to show the listig of Page.
##	Copyright   :       Synapse Communications Private Limited.
## *****************************************************************
include_once "../inc/common_functions.php";
//for common function
include_once "../inc/page.inc.php";
//for paging
include "include/ADsessionAdmin.php";
// for admin login
$func = new COMMONFUNC();
//Create an instance of class COMMONFUNC
$page = new Page();
//Create an instance of class Pate
$lnb = "2";
$error_msg = '';
//$searchname=$_REQUEST['hidVal'];
$srchCond = '';
if (!$searchname) {
    $searchname = $_REQUEST['searchname'];
}
$searchname = addslashes($searchname);
if (strlen($searchname) > 0) {
    $queryString = "searchname={$searchname}";
    $srchCond = "AND fldName like '%" . $searchname . "%'";
}
开发者ID:trungjc,项目名称:collegeprospectnetwork,代码行数:30,代码来源:ADLisOther.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP CORE_database类代码示例发布时间:2022-05-23
下一篇:
PHP COM类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap