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

PHP getabspath函数代码示例

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

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



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

示例1: buildFilterPanel

	/**
	 * Get filters blocks' data and Assing it to the Filter panel's blocks
	 */
	public function buildFilterPanel()
	{	
		include_once getabspath("classes/controls/FilterControl.php");
		foreach($this->filterFileds as $fieldName) 
		{			
			if( $this->pageObj->pSet->hasDependantFilter($fieldName) )
				continue;
							
			$filterFieldName = $fieldName;
			$filterControl = FilterControl::getFilterControl($filterFieldName, $this->pageObj, $this->id, $this->viewControls);			
			
			$filterCtrlBlocks = $filterControl->buildFilterCtrlBlockArray($this->pageObj);
			$filterButtonParams = $filterControl->getFilterButtonParams();
			$filterExtraControls = $filterControl->getFilterExtraControls();
			
			while( $filterControl->dependant )
			{
				$filterFieldName = $filterControl->parentFilterName;			
				$filterControl = FilterControl::getFilterControl($filterFieldName, $this->pageObj, $this->id, $this->viewControls);
					
				$filterCtrlBlocks = $filterControl->buildFilterCtrlBlockArray( $this->pageObj, $filterCtrlBlocks );		
				$filterButtonParams = $filterControl->getFilterButtonParams( $filterButtonParams );
				$filterExtraControls = $filterControl->getFilterExtraControls( $filterExtraControls );
			}			
			
			$filterState = $filterControl->getFilterState();
			
			$this->assignFilterPanelField($filterFieldName, $filterCtrlBlocks, $filterState, $filterButtonParams, $filterExtraControls);			
		}
	}
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:33,代码来源:filterpanel.php


示例2: Delete

 function Delete()
 {
     $path = $this->destPath;
     if (!$this->destPathIsAbsolute) {
         $path = getabspath($path);
     }
     $last = substr($path, strlen($path) - 1);
     if ($last != "/" && $last != "\\") {
         $path .= "/";
     }
     runner_delete_file($path . $this->destFilename);
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:12,代码来源:files.php


示例3: initUploadHandler

 function initUploadHandler()
 {
     if (is_null($this->upload_handler)) {
         require_once getabspath("classes/uploadhandler.php");
         $this->upload_handler = new UploadHandler(getOptionsForMultiUpload($this->container->pSet, $this->field));
         if (!is_null($this->pageObject)) {
             $this->upload_handler->pSet = $this->pageObject->pSetEdit;
         } else {
             $this->upload_handler->pSet = $this->container->pSet;
         }
         $this->upload_handler->field = $this->field;
         $this->upload_handler->table = $this->container->pSet->_table;
         $this->upload_handler->pageType = $this->container->pageType;
     }
 }
开发者ID:aagusti,项目名称:padl-tng,代码行数:15,代码来源:ViewFileField.php


示例4: showDBValue

 public function showDBValue(&$data, $keylink)
 {
     $value = "";
     $fileName = $data[$this->field];
     if (strlen($fileName)) {
         $fieldIsUrl = $this->container->pSet->isVideoUrlField($this->field);
         if (!$fieldIsUrl) {
             $this->upload_handler->tkeys = $keylink;
             $filesArray = $this->getFilesArray($fileName);
         } else {
             $filesArray = array($fileName);
         }
         $title = "";
         $titleField = $this->container->pSet->getAudioTitleField($this->field);
         if ($titleField) {
             $title = runner_htmlspecialchars($data[$titleField]);
         }
         foreach ($filesArray as $file) {
             if ($this->container->pageType == PAGE_EXPORT || $this->container->pageType == PAGE_PRINT || $this->container->forExport != '') {
                 if ($value != "") {
                     $value .= ", ";
                 }
                 $value .= $fieldIsUrl ? $file : $file["usrName"];
                 continue;
             }
             // if file
             if (!$fieldIsUrl) {
                 if (!file_exists(getabspath($file["name"]))) {
                     continue;
                 }
             }
             if ($fieldIsUrl) {
                 $href = $file;
             } else {
                 $userFile = $this->upload_handler->buildUserFile($file);
                 $href = runner_htmlspecialchars($userFile["url"]);
                 if (!$title || !$titleField) {
                     $title = $userFile["name"];
                 }
             }
             $link = '<a title="' . $title . '" href="' . $href . '">' . $title . '</a>';
             $value .= ($value == "" ? "" : "<br />") . '<audio controls preload="none" src="' . $href . '">' . $link . '</audio>';
         }
     }
     return $value;
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:46,代码来源:ViewAudioFileField.php


示例5: getFinalUploadFolder

	function getFinalUploadFolder($field, $fileData = array())
	{
		if($this->isAbsolute($field))
			$path = $this->getUploadFolder($field, $fileData);
		else
			$path = getabspath($this->getUploadFolder($field, $fileData));
				if(strlen($path) && substr($path,strlen($path)-1) != "/")
			$path.="/";
		return $path;
	}
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:10,代码来源:projectsettings.php


示例6: class_GlobalEvents

$tableCaptions[""]["GE_PERSONA_DISPONIBLEXIDIOMA"] = "PERSONA DISPONIBLEXIDIOMA";
$tableCaptions[""]["GE_PERSONA_DISPONIBLEXOCUPACION"] = "PERSONA DISPONIBLEXOCUPACION";
$tableCaptions[""]["GE_PERSONA_DISPONIBLEXRELIGION"] = "PERSONA DISPONIBLEXRELIGION";
$tableCaptions[""]["GE_VISITA"] = "VISITA";
$tableCaptions[""]["GE_PERSONA_DISPONIBLEXINTERES"] = "PERSONA DISPONIBLEXINTERES";
$tableCaptions[""]["GE_PERSONA_DISPONIBLEXMASCOTA"] = "PERSONA DISPONIBLEXMASCOTA";
$tableCaptions[""]["GE_FOTO"] = "FOTO";
$tableCaptions[""]["GE_BEBEDOR"] = "GE BEBEDOR";
$tableCaptions[""]["GE_PERSONA"] = "GE PERSONA";
$globalEvents = new class_GlobalEvents();
$tableEvents = array();
$mlang_defaultlang = "Spanish";
$page_titles[".global"] = array();
if (mlang_getcurrentlang() == "Spanish") {
}
if (mlang_getcurrentlang() == "") {
}
include getabspath('classes/security.php');
include getabspath("connections/dbfunctions_legacy.php");
include getabspath("connections/ConnectionManager.php");
$cman = new ConnectionManager();
// default connection link #9875
$conn = $cman->getDefault()->conn;
$isGroupSecurity = false;
$isUseRTEBasic = true;
$isUseRTECK = false;
$isUseRTEInnova = false;
$caseInsensitiveUsername = 0;
include getabspath('classes/projectsettings.php');
include_once getabspath('classes/runnerpage.php');
开发者ID:kcallow,项目名称:MatchMe,代码行数:30,代码来源:appsettings.php


示例7: runner_error_handler

function runner_error_handler($errno, $errstr, $errfile, $errline)
{
    global $strLastSQL;
    if ($errno == 2048) {
        return 0;
    }
    if ($errno == 8192) {
        if ($errstr == "Assigning the return value of new by reference is deprecated") {
            return 0;
        }
        if (strpos($errstr, "set_magic_quotes_runtime")) {
            return 0;
        }
    }
    if ($errno == 2 && strpos($errstr, "has been disabled for security reasons")) {
        return 0;
    }
    if ($errno == 2 && strpos($errstr, "Data is not in a recognized format")) {
        return 0;
    }
    if ($errno == 8 && !strncmp($errstr, "Undefined index", 15)) {
        return 0;
    }
    if (strpos($errstr, "It is not safe to rely on the system's timezone settings.")) {
        return 0;
    }
    if (strpos($errstr, "fopen(") === 0) {
        return 0;
    }
    // show error htm
    if (!class_exists("Xtempl")) {
        require_once getabspath("include/xtempl.php");
    }
    $xt = new Xtempl();
    $xt->assign('errno', $errno);
    $xt->assign('errstr', $errstr);
    $url = $_SERVER["SERVER_NAME"] . $_SERVER["SCRIPT_NAME"];
    if (array_key_exists("QUERY_STRING", $_SERVER)) {
        $url .= "?" . htmlspecialchars($_SERVER["QUERY_STRING"]);
    }
    $xt->assign('url', $url);
    $xt->assign('errfile', $errfile);
    $xt->assign('errline', $errline);
    $sqlStr = isset($strLastSQL) ? htmlspecialchars(substr($strLastSQL, 0, 1024)) : '';
    $xt->assign('sqlStr', $sqlStr);
    $debugInfoArr = parse_backtrace($errfile, $errline);
    $xt->assign_loopsection('debugRow', $debugInfoArr);
    $xt->display('error.htm');
    exit(0);
}
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:50,代码来源:phpfunctions.php


示例8: array

if (!$PageSize) {
    $PageSize = $pageObject->pSet->getInitialPageSize();
}
if ($PageSize < 0) {
    $all = 1;
}
$recno = 1;
$records = 0;
$maxpages = 1;
$pageindex = 1;
$pageno = 1;
// build arrays for sort (to support old code in user-defined events)
if ($eventObj->exists("ListQuery")) {
    $arrFieldForSort = array();
    $arrHowFieldSort = array();
    require_once getabspath('classes/orderclause.php');
    $fieldList = unserialize($_SESSION[$strTableName . "_orderFieldsList"]);
    for ($i = 0; $i < count($fieldList); $i++) {
        $arrFieldForSort[] = $fieldList[$i]->fieldIndex;
        $arrHowFieldSort[] = $fieldList[$i]->orderDirection;
    }
}
if (!$all) {
    if ($numrows) {
        $maxRecords = $numrows;
        $maxpages = ceil($maxRecords / $PageSize);
        if ($mypage > $maxpages) {
            $mypage = $maxpages;
        }
        if ($mypage < 1) {
            $mypage = 1;
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_daftar_hist_print.php


示例9: getabspath

<?php

include_once getabspath("include/pad_pad_sspd_settings.php");
function DisplayMasterTableInfo_pad_pad_sspd($params)
{
    $detailtable = $params["detailtable"];
    $keys = $params["keys"];
    global $conn, $strTableName;
    $xt = new Xtempl();
    $oldTableName = $strTableName;
    $strTableName = "pad.pad_sspd";
    //$strSQL = "SELECT id,   tahun,   sspdno,   sspdtgl,   sspdjam,   invoice_id,   keterangan,   bulan_telat,   hitung_bunga,   denda,   bunga,   jml_bayar,   sisa,   jenis_bayar,   printed,   tp_id,   is_validated,   is_valid,   enabled,   created,   create_uid,   updated,   update_uid,   petugas_id,   pejabat_id  FROM \"pad\".pad_sspd ";
    $cipherer = new RunnerCipherer($strTableName);
    $settings = new ProjectSettings($strTableName, PAGE_PRINT);
    $masterQuery = $settings->getSQLQuery();
    $viewControls = new ViewControlsContainer($settings, PAGE_PRINT);
    $where = "";
    global $pageObject, $page_styles, $page_layouts, $page_layout_names, $container_styles;
    $layout = new TLayout("masterprint", "RoundedGreen", "MobileGreen");
    $layout->blocks["bare"] = array();
    $layout->containers["0"] = array();
    $layout->containers["0"][] = array("name" => "masterprintheader", "block" => "", "substyle" => 1);
    $layout->skins["0"] = "empty";
    $layout->blocks["bare"][] = "0";
    $layout->containers["mastergrid"] = array();
    $layout->containers["mastergrid"][] = array("name" => "masterprintfields", "block" => "", "substyle" => 1);
    $layout->skins["mastergrid"] = "grid";
    $layout->blocks["bare"][] = "mastergrid";
    $page_layouts["pad_pad_sspd_masterprint"] = $layout;
    $showKeys = "";
    if ($detailtable == "public.pad_payment") {
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_sspd_masterprint.php


示例10: getabspath

<?php

require_once getabspath('classes/controls/TextControl.php');
class ReadOnlyField extends TextControl
{
    function ReadOnlyField($field, $pageObject, $id)
    {
        parent::EditControl($field, $pageObject, $id);
        $this->format = EDIT_FORMAT_READONLY;
    }
    function buildControl($value, $mode, $fieldNum = 0, $validate, $additionalCtrlParams, $data)
    {
        parent::buildControl($value, $mode, $fieldNum, $validate, $additionalCtrlParams, $data);
        if ($mode == MODE_EDIT || $mode == MODE_ADD || $mode == MODE_INLINE_EDIT || $mode == MODE_INLINE_ADD) {
            echo '<span id="readonly_' . $this->cfield . '" ' . $this->inputStyle . '>' . $this->pageObject->readOnlyFields[$this->field] . '</span>';
        }
        echo '<input id="' . $this->cfield . '" type="Hidden" name="' . $this->cfield . '" value="' . htmlspecialchars($value) . '">';
        $this->buildControlEnd($validate);
    }
}
开发者ID:aagusti,项目名称:padl-tng,代码行数:20,代码来源:ReadOnlyField.php


示例11: header

<?php

@ini_set("display_errors", "1");
@ini_set("display_startup_errors", "1");
require_once "include/dbcommon.php";
header("Expires: Thu, 01 Jan 1970 00:00:01 GMT");
require_once "classes/charts.php";
require_once getabspath("include/xml.php");
require_once getabspath("classes/searchclause.php");
if (!isLogged()) {
    Security::saveRedirectURL();
    HeaderRedirect("login", "", "message=expired");
    return;
}
$xml = new xml();
$chrt_strXML = "";
if (checkTableName(postvalue("chartname"), titCHART)) {
    include_once "include/" . postvalue("chartname") . "_variables.php";
    $chrt_strXML = GetChartXML(postvalue("chartname"));
    $chrt_array = $xml->xml_to_array($chrt_strXML);
    $_SESSION["webobject"]["table_type"] = "project";
    $_SESSION["object_sql"] = "";
}
$webchart = false;
if (!$chrt_strXML) {
    $sessPrefix = "webchart" . postvalue('cname');
    $chrt_strXML = LoadSelectedChart(postvalue('cname'));
    $webchart = true;
    $chrt_array = $xml->xml_to_array($chrt_strXML);
    if (is_wr_project()) {
        include_once "include/" . $chrt_array['settings']['short_table_name'] . "_variables.php";
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:31,代码来源:dchartdata.php


示例12: postvalue

$options["id"] = postvalue("id") ? postvalue("id") : 1;
$options["mode"] = $mode;
$options['xt'] =& $xt;
$options['mainMasterPageType'] = postvalue("mainmasterpagetype");
$options['masterPageType'] = postvalue("masterpagetype");
$options["masterTable"] = postvalue("mastertable");
$options["masterId"] = postvalue("masterid");
$options["firstTime"] = postvalue("firsttime");
$i = 1;
while (isset($_REQUEST["masterkey" . $i])) {
    $options["masterKeysReq"][$i] = $_REQUEST["masterkey" . $i];
    $i++;
}
$pageObject = ListPage::createListPage($strTableName, $options);
unset($_SESSION["message_add"]);
unset($_SESSION["message_edit"]);
// prepare code for build page
$pageObject->prepareForBuildPage();
$includesArr = array();
$masterTablesInfoArr = GetMasterTablesArr($strTableName);
for ($i = 0; $i < count($masterTablesInfoArr); $i++) {
    if ($masterTablesInfoArr[$i]['dispInfo']) {
        $includesArr[] = getabspath("include/" . $masterTablesInfoArr[$i]['mShortTable'] . "_masterlist.php");
    }
}
//include files if need
for ($i = 0; $i < count($includesArr); $i++) {
    include $includesArr[$i];
}
// show page depends of mode
$pageObject->showPage();
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Customers_list.php


示例13: GetTableLink

				}
			    } else {
				$filename = "file.bin";
			    }
			    if (strlen(db_fld_value($data, fldname($fld)))) {
				$value = "<a href=\"" . GetTableLink($rpt_array['short_table_name'], "getfile") . "?filename=" . rawurlencode($filename) . "&field=" . runner_htmlspecialchars(rawurlencode(fldname($fld))) . $keylink . "\">";
				$value.=runner_htmlspecialchars($filename);
				$value.="</a>";
			    }
			}
		    } elseif (!is_wr_project()) {
			$value = WRProcessLargeText($viewControls->getControl(gfldname($fld), $fld['view_format'])->showDBValue($data, ""), fldname($fld), count($rowinfo), 100, $render_mode, $fld['label']);
		    } elseif (( $fld["edit_format"] == EDIT_FORMAT_LOOKUP_WIZARD || $fld["edit_format"] == EDIT_FORMAT_RADIO ) && ($fld['lookupobj_lookuptype'] == LT_LOOKUPTABLE || $fld['lookupobj_lookuptype'] == LT_QUERY)) {
			//delete tjhis after the tests on feature #6356
			//$value = DisplayLookupWizard(fldname($fld), $data[fldname($fld)], $data, $keylink, $render_mode, PAGE_REPORT);
			include_once getabspath('classes/controls/ViewLookupWizardField.php');
			if (!$viewControls->viewControls[fldname($fld)])
			    $viewControls->viewControls[fldname($fld)] = new ViewLookupWizardField(fldname($fld), $viewControls, null);
			$value = $viewControls->showDBValue($viewControls, $data, $keylink);
		    }
		    elseif ($fld["view_format"] != FORMAT_CUSTOM && $fld["view_format"] != FORMAT_FILE_IMAGE && $fld["view_format"] != FORMAT_FILE && $fld["view_format"] != FORMAT_HYPERLINK && $fld["view_format"] != FORMAT_EMAILHYPERLINK && $fld["view_format"] != FORMAT_CHECKBOX) {
			$value = WRProcessLargeText($viewControls->getControl(gfldname($fld), $fld['view_format'])->showDBValue($data, "")
				, fldname($fld)
				, count($rowinfo), $gSettings->getNumberOfChars(), $render_mode, $fld['label']);
		    } else {
			$value = $viewControls->getControl(fldname($fld), $fld['view_format'])->showDBValue($data, "");
		    }
		    if ($summary[0]["sds"]) {
			$row["1" . GoodFieldName(fldname($fld)) . "_value"] = $value;
			$arrFields["data"][0][fldname($fld)] = $value;
		    }
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:31,代码来源:dreport.php


示例14: isSystemControl

	function isSystemControl($className)
	{
		include_once(getabspath("classes/controls/Control.php"));
		$cTypes = new ControlTypes();
		if($this->pageType == PAGE_SEARCH || $this->pageType == PAGE_LIST)
			return isset($cTypes->forSearch[$className]);
		else
			return isset($cTypes->forEdit[$className]);
	}
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:9,代码来源:EditControlsContainer.php


示例15: array

$proto15["m_column"]=$obj;
$proto15["m_contained"] = array();
$proto15["m_strCase"] = "";
$proto15["m_havingmode"] = false;
$proto15["m_inBrackets"] = false;
$proto15["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto15);

$proto13["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto13);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_webreport_users = createSqlQuery_webreport_users();

				
	
$tdatawebreport_users[".sqlquery"] = $queryData_webreport_users;

include_once(getabspath("include/webreport_users_events.php"));
$tableEvents["webreport_users"] = new eventclass_webreport_users;
$tdatawebreport_users[".hasEvents"] = true;

$cipherer = new RunnerCipherer("webreport_users");

?>
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:31,代码来源:webreport_users_settings_oracle.php


示例16: get_file_object

 public function get_file_object($file_name)
 {
     $file_path = $this->pSet->getUploadFolder($this->field) . $file_name;
     if (is_file($file_path) && $file_name[0] !== '.') {
         $file = array();
         $file["error"] = false;
         $file["name"] = $file_path;
         $file["usrName"] = $file_name;
         $path_parts = $this->pathinfo_local($file_name);
         $file["type"] = getContentTypeByExtension($path_parts["extension"]);
         $file["size"] = filesize($file_path);
         $file["url"] = rawurlencode($file_path);
         $file["thumbnail"] = "";
         foreach ($this->options['image_versions'] as $version => $options) {
             if ($file_path) {
                 $thumbPath = $this->pSet->getUploadFolder($this->field) . $this->pSet->getStrThumbnail($this->field) . $file_name;
                 if (is_file(getabspath($thumbPath))) {
                     $file["thumbnail"] = $thumbPath;
                     $path_parts = $this->pathinfo_local($thumbPath);
                     $file["thumbnail_type"] = getContentTypeByExtension($path_parts["extension"]);
                     $file["thumbnail_size"] = filesize(getabspath($thumbPath));
                 } else {
                     $file["thumbnail"] = $file_path;
                     $file["thumbnail_type"] = $file["type"];
                     $file["thumbnail_size"] = $file["size"];
                 }
             }
         }
         $this->set_file_delete_url($file);
         return $file;
     }
     return null;
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:33,代码来源:uploadhandler.php


示例17: getabspath

<?php

include_once getabspath("include/pad_pad_kelurahan_settings.php");
function DisplayMasterTableInfo_pad_pad_kelurahan($params)
{
    $detailtable = $params["detailtable"];
    $keys = $params["keys"];
    $detailPageObj = $params["detailPageObj"];
    global $conn, $strTableName;
    $xt = new Xtempl();
    $oldTableName = $strTableName;
    $strTableName = "pad.pad_kelurahan";
    $settings = new ProjectSettings($strTableName, PAGE_LIST);
    $cipherer = new RunnerCipherer($strTableName);
    $masterQuery = $settings->getSQLQuery();
    $viewControls = new ViewControlsContainer($settings, PAGE_LIST);
    $where = "";
    $mKeys = array();
    $showKeys = "";
    global $page_styles, $page_layouts, $page_layout_names, $container_styles;
    $layout = new TLayout("masterlist", "RoundedGreen", "MobileGreen");
    $layout->blocks["bare"] = array();
    $layout->containers["0"] = array();
    $layout->containers["0"][] = array("name" => "masterlistheader", "block" => "", "substyle" => 1);
    $layout->skins["0"] = "empty";
    $layout->blocks["bare"][] = "0";
    $layout->containers["mastergrid"] = array();
    $layout->containers["mastergrid"][] = array("name" => "masterlistfields", "block" => "", "substyle" => 1);
    $layout->skins["mastergrid"] = "grid";
    $layout->blocks["bare"][] = "mastergrid";
    $page_layouts["pad_pad_kelurahan_masterlist"] = $layout;
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_kelurahan_masterlist.php


示例18: include

<?php
@ini_set("display_errors","1");
@ini_set("display_startup_errors","1");

include("include/dbcommon.php");
include('classes/remindpwdpage.php');
include('include/xtempl.php');
require_once(getabspath("classes/cipherer.php"));

$reminded = false;
$sentMailResults = array();

$cipherer = new RunnerCipherer("webreport_users");

$xt = new Xtempl();
$sessPrefix = 'remind';
$id = postvalue("id")!=="" ? postvalue("id") : 1;
$cEmailField = "email";




$layout = new TLayout("remind2", "BoldOrange", "MobileOrange");
$layout->version = 2;
$layout->blocks["top"] = array();
$layout->containers["remind"] = array();
$layout->containers["remind"][] = array("name"=>"remindheader", 
	"block"=>"remindheader", "substyle"=>2  );

$layout->containers["remind"][] = array("name"=>"message", 
	"block"=>"message_block", "substyle"=>1  );
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:31,代码来源:remind.php


示例19: getabspath

<?php

include_once getabspath("include/Module_settings.php");
function DisplayMasterTableInfo_Module($params)
{
    $detailtable = $params["detailtable"];
    $keys = $params["keys"];
    global $conn, $strTableName;
    $xt = new Xtempl();
    $oldTableName = $strTableName;
    $strTableName = "dbo.Module";
    //$strSQL = "SELECT ID,   [Module Type],   [Module Status],   [Module Condition],   [Serial Num],   [Entry Date]  FROM dbo.[Module]";
    $sqlHead = "SELECT ID,   [Module Type],   [Module Status],   [Module Condition],   [Serial Num],   [Entry Date]";
    $sqlFrom = "FROM dbo.[Module]";
    $sqlWhere = "";
    $sqlTail = "";
    $where = "";
    global $page_styles, $page_layouts, $page_layout_names, $container_styles;
    $layout = new TLayout("masterprint", "BoldOrange", "MobileOrange");
    $layout->blocks["bare"] = array();
    $layout->containers["0"] = array();
    $layout->containers["0"][] = array("name" => "masterprintheader", "block" => "", "substyle" => 1);
    $layout->skins["0"] = "empty";
    $layout->blocks["bare"][] = "0";
    $layout->containers["mastergrid"] = array();
    $layout->containers["mastergrid"][] = array("name" => "masterprintfields", "block" => "", "substyle" => 1);
    $layout->skins["mastergrid"] = "grid";
    $layout->blocks["bare"][] = "mastergrid";
    $page_layouts["Module_masterprint"] = $layout;
    if ($detailtable == "dbo.Anomalies") {
        $where .= GetFullFieldName("ID") . "=" . make_db_value("ID", $keys[1 - 1]);
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Module_masterprint.php


示例20: header

<?php

require_once "include/phpfunctions.php";
header("Content-Type: text/css");
$file = getQueryString();
$ext = substr($file, strrpos($file, '.') + 1);
if ($ext != "css" || strpos($file, '..') !== false) {
    exit;
}
$css = myfile_get_contents(getabspath($file), "r");
$css = preg_replace(array("/ :not\\(.*?\\)/", "/ :first-child/", "/ :last-child/", "/ :nth-last-child\\(.*?\\)/"), " *", $css);
$css = preg_replace(array("/:not\\(.*?\\)/", "/:first-child/", "/:last-child/", "/:nth-last-child\\(.*?\\)/"), "", $css);
echo $css;
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:13,代码来源:ie8css.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP getaddEventPopupTime函数代码示例发布时间:2022-05-15
下一篇:
PHP get_zone_name_from_id函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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