本文整理汇总了PHP中ewrpt_StripSlashes函数的典型用法代码示例。如果您正苦于以下问题:PHP ewrpt_StripSlashes函数的具体用法?PHP ewrpt_StripSlashes怎么用?PHP ewrpt_StripSlashes使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ewrpt_StripSlashes函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: GetSort
function GetSort()
{
global $users;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$users->setOrderBy("");
$users->setStartGroup(1);
$users->users_id->setSort("");
$users->user_firstname->setSort("");
$users->user_lastname->setSort("");
$users->email_id->setSort("");
$users->phone_no->setSort("");
$users->branch->setSort("");
$users->username->setSort("");
$users->password->setSort("");
$users->user_created->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$users->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$users->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $users->SortSql();
$users->setOrderBy($sSortSql);
$users->setStartGroup(1);
}
return $users->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:29,代码来源:usersrpt.php
示例2: GetSort
function GetSort()
{
global $CustomView2;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$CustomView2->setOrderBy("");
$CustomView2->setStartGroup(1);
$CustomView2->Total->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$CustomView2->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$CustomView2->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $CustomView2->SortSql();
$CustomView2->setOrderBy($sSortSql);
$CustomView2->setStartGroup(1);
}
return $CustomView2->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:21,代码来源:CustomView2rpt.php
示例3: GetSort
function GetSort()
{
global $paper_time;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$paper_time->setOrderBy("");
$paper_time->setStartGroup(1);
$paper_time->date->setSort("");
$paper_time->one_question->setSort("");
$paper_time->start_time->setSort("");
$paper_time->end_time->setSort("");
$paper_time->paper_id->setSort("");
$paper_time->all_time->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$paper_time->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$paper_time->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $paper_time->SortSql();
$paper_time->setOrderBy($sSortSql);
$paper_time->setStartGroup(1);
}
return $paper_time->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:26,代码来源:paper_timerpt.php
示例4: GetSort
function GetSort()
{
global $Report11;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$Report11->setOrderBy("");
$Report11->setStartGroup(1);
$Report11->first_name->setSort("");
$Report11->last_name->setSort("");
$Report11->paper_name->setSort("");
$Report11->totalmarks->setSort("");
$Report11->total_time28in_seconds29->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$Report11->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$Report11->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $Report11->SortSql();
$Report11->setOrderBy($sSortSql);
$Report11->setStartGroup(1);
}
return $Report11->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:25,代码来源:Report11smry.php
示例5: setQueryStringValue
function setQueryStringValue($v)
{
$this->QueryStringValue = ewrpt_StripSlashes($v);
$this->CurrentValue = $this->QueryStringValue;
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:5,代码来源:ewrfn4.php
示例6: GetSort
function GetSort()
{
global $questions;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$questions->setOrderBy("");
$questions->setStartGroup(1);
$questions->questions_id->setSort("");
$questions->ques_path->setSort("");
$questions->category_id->setSort("");
$questions->class_id->setSort("");
$questions->marks->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$questions->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$questions->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $questions->SortSql();
$questions->setOrderBy($sSortSql);
$questions->setStartGroup(1);
}
return $questions->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:25,代码来源:questionsrpt.php
示例7: GetSort
function GetSort()
{
global $Report3;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$Report3->setOrderBy("");
$Report3->setStartGroup(1);
$Report3->z28Select_Count282A292A_100_2F_28Select_Count282A29_From_students29_as_Score_From_class_std_group_by_paper_id29->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$Report3->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$Report3->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $Report3->SortSql();
$Report3->setOrderBy($sSortSql);
$Report3->setStartGroup(1);
}
return $Report3->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:21,代码来源:Report3smry.php
示例8: GetSort
function GetSort()
{
global $class_std;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$class_std->setOrderBy("");
$class_std->setStartGroup(1);
$class_std->std_id->setSort("");
$class_std->paper_id->setSort("");
$class_std->totalmarks->setSort("");
$class_std->attended_date->setSort("");
$class_std->attended_time->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$class_std->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$class_std->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $class_std->SortSql();
$class_std->setOrderBy($sSortSql);
$class_std->setStartGroup(1);
}
return $class_std->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:25,代码来源:class_stdrpt.php
示例9: GetSort
function GetSort()
{
global $CustomView1;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$CustomView1->setOrderBy("");
$CustomView1->setStartGroup(1);
$CustomView1->paper_name->setSort("");
$CustomView1->Count28Distinct_class_std2Estd_id29->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$CustomView1->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$CustomView1->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $CustomView1->SortSql();
$CustomView1->setOrderBy($sSortSql);
$CustomView1->setStartGroup(1);
}
return $CustomView1->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:22,代码来源:CustomView1rpt.php
示例10: GetSort
function GetSort()
{
global $Score_Test;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$Score_Test->setOrderBy("");
$Score_Test->setStartGroup(1);
$Score_Test->First_Name->setSort("");
$Score_Test->Last_Name->setSort("");
$Score_Test->Paper_Name->setSort("");
$Score_Test->Total_Marks->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$Score_Test->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$Score_Test->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $Score_Test->SortSql();
$Score_Test->setOrderBy($sSortSql);
$Score_Test->setStartGroup(1);
}
return $Score_Test->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:24,代码来源:Score_Testrpt.php
示例11: GetSort
function GetSort()
{
global $Testc_Count;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$Testc_Count->setOrderBy("");
$Testc_Count->setStartGroup(1);
$Testc_Count->Paper_Name->setSort("");
$Testc_Count->No_of_Students->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$Testc_Count->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$Testc_Count->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $Testc_Count->SortSql();
$Testc_Count->setOrderBy($sSortSql);
$Testc_Count->setStartGroup(1);
}
return $Testc_Count->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:22,代码来源:Testc_Countrpt.php
示例12: GetSort
function GetSort()
{
global $Report2;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$Report2->setOrderBy("");
$Report2->setStartGroup(1);
$Report2->First_Name->setSort("");
$Report2->Last_Name->setSort("");
$Report2->zEmail->setSort("");
$Report2->Phone_No2E->setSort("");
$Report2->Roll_No->setSort("");
$Report2->Branch->setSort("");
$Report2->UserName->setSort("");
$Report2->Parents_No->setSort("");
$Report2->Password->setSort("");
$Report2->Confirm->setSort("");
$Report2->Class_Name->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$Report2->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$Report2->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $Report2->SortSql();
$Report2->setOrderBy($sSortSql);
$Report2->setStartGroup(1);
}
return $Report2->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:31,代码来源:Report2smry.php
示例13: session_start
session_start();
ob_start();
include "phprptinc/ewrcfg4.php";
include "phprptinc/ewmysql.php";
include "phprptinc/ewrfn4.php";
// Get resize parameters
$resize = @$_GET["resize"] != "";
$width = @$_GET["width"] != "" ? $_GET["width"] : 0;
$height = @$_GET["height"] != "" ? $_GET["height"] : 0;
if (@$_GET["width"] == "" && @$_GET["height"] == "") {
$width = EWRPT_THUMBNAIL_DEFAULT_WIDTH;
$height = EWRPT_THUMBNAIL_DEFAULT_HEIGHT;
}
$quality = @$_GET["quality"] != "" ? $_GET["quality"] : EWRPT_THUMBNAIL_DEFAULT_QUALITY;
// Resize image from physical file
if (@$_GET["fn"] != "") {
$fn = ewrpt_StripSlashes($_GET["fn"]);
$fn = str_replace("", "", $fn);
$fn = ewrpt_PathCombine(ewrpt_AppRoot(), $fn, TRUE);
if (file_exists($fn)) {
$pathinfo = pathinfo($fn);
$ext = strtolower($pathinfo['extension']);
$size = getimagesize($fn);
if ($size) {
header("Content-type: {$size['mime']}");
}
echo ewrpt_ResizeFileToBinary($fn, $width, $height, $quality);
}
exit;
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:30,代码来源:ewrbv4.php
示例14: GetSort
function GetSort()
{
global $Studentwise_Tests_taken;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$Studentwise_Tests_taken->setOrderBy("");
$Studentwise_Tests_taken->setStartGroup(1);
$Studentwise_Tests_taken->first_name->setSort("");
$Studentwise_Tests_taken->last_name->setSort("");
$Studentwise_Tests_taken->rollno->setSort("");
$Studentwise_Tests_taken->paper_name->setSort("");
$Studentwise_Tests_taken->totalmarks->setSort("");
$Studentwise_Tests_taken->attended_date->setSort("");
$Studentwise_Tests_taken->attended_time->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$Studentwise_Tests_taken->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$Studentwise_Tests_taken->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $Studentwise_Tests_taken->SortSql();
$Studentwise_Tests_taken->setOrderBy($sSortSql);
$Studentwise_Tests_taken->setStartGroup(1);
}
return $Studentwise_Tests_taken->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:27,代码来源:Studentwise_Tests_takenrpt.php
示例15: GetSort
function GetSort()
{
global $students;
// Check for a resetsort command
if (strlen(@$_GET["cmd"]) > 0) {
$sCmd = @$_GET["cmd"];
if ($sCmd == "resetsort") {
$students->setOrderBy("");
$students->setStartGroup(1);
$students->std_id->setSort("");
$students->first_name->setSort("");
$students->last_name->setSort("");
$students->zemail->setSort("");
$students->phone_no->setSort("");
$students->class_id->setSort("");
$students->rollno->setSort("");
$students->branch->setSort("");
$students->parentsno->setSort("");
$students->username->setSort("");
$students->password->setSort("");
$students->confirm->setSort("");
}
// Check for an Order parameter
} elseif (@$_GET["order"] != "") {
$students->CurrentOrder = ewrpt_StripSlashes(@$_GET["order"]);
$students->CurrentOrderType = @$_GET["ordertype"];
$sSortSql = $students->SortSql();
$students->setOrderBy($sSortSql);
$students->setStartGroup(1);
}
return $students->getOrderBy();
}
开发者ID:asmirasurianie,项目名称:xaminer-v10,代码行数:32,代码来源:studentsrpt.php
注:本文中的ewrpt_StripSlashes函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论