Техническая документация Irbis
Содержание
- 1 Структура каталогов
- 2 Файлы главной директории
- 3 Каталог cache
- 4 Каталог class
- 4.1 Каталог core
- 4.1.1 Каталог locale_map
- 4.1.2 Каталог mpanel
- 4.1.3 Каталог sql
- 4.1.4 Admin.php
- 4.1.4.1 $sTableName
- 4.1.4.2 $sAdditionalLink
- 4.1.4.3 $sTablePrefix
- 4.1.4.4 $sTableId
- 4.1.4.5 $aChildTable
- 4.1.4.6 $sAction
- 4.1.4.7 $sWinHead
- 4.1.4.8 $sPath
- 4.1.4.9 $sSubMenu
- 4.1.4.10 $aCheckField
- 4.1.4.11 $sBeforeAddMethod
- 4.1.4.12 $aFCKEditors
- 4.1.4.13 $sSqlPath
- 4.1.4.14 $sScriptForAdd
- 4.1.4.15 $bAlreadySetMessage
- 4.1.4.16 $sNumSql
- 4.1.4.17 $aSearch
- 4.1.4.18 $sSearchSQL
- 4.1.4.19 $sAddonPath
- 4.1.4.20 $aAdmin
- 4.1.4.21 function hasAccessTo($sAction)
- 4.1.4.22 function Admin()
- 4.1.4.23 function AdminRedirect($sAction='', $aMessage=array())
- 4.1.4.24 function PreIndex()
- 4.1.4.25 function AfterIndex()
- 4.1.4.26 function SetDefaultTable($oTable, $aWhereData = array())
- 4.1.4.27 function ProcessTemplateForm($sPath)
- 4.1.4.28 function Add($bEdit = false)
- 4.1.4.29 function Edit()
- 4.1.4.30 function Apply()
- 4.1.4.31 function Search()
- 4.1.4.32 function SearchForm()
- 4.1.4.33 function BeforeApply()
- 4.1.4.34 function AfterApply($aBeforeRow,$aAfterRow)
- 4.1.4.35 function BeforeAddAssign(&$aData)
- 4.1.4.36 function CheckField()
- 4.1.4.37 function Delete()
- 4.1.4.38 function Trash()
- 4.1.4.39 function Archive()
- 4.1.4.40 function UnArchive()
- 4.1.4.41 function ActionToClass($sBaseAction)
- 4.1.4.42 function Message($sType = '', $sMessage = '',$sOldObject='')
- 4.1.4.43 function GetFilter()
- 4.1.4.44 function ProcessFCKEditors()
- 4.1.4.45 function initLocaleGlobal()
- 4.1.4.46 function GetFCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
- 4.1.4.47 function GetCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
- 4.1.4.48 function DisplayChange()
- 4.1.4.49 function OrderChange()
- 4.1.4.50 function IsMpanelUser($sLogin,$sPassword)
- 4.1.4.51 function SearchStrongChange()
- 4.1.5 Auth.php
- 4.1.5.1 $iRememberDays
- 4.1.5.2 $aUser
- 4.1.5.3 $sWhere
- 4.1.5.4 $bIgnoreCookie
- 4.1.5.5 function Login($sLogin, $sPassword, $bIgnoreVisible=false, $bIgnoreEmailConfirmation=true, $bSalt=false, $bCheckPassword=true, $sOtherFieldAsLogin='')
- 4.1.5.6 function Logout()
- 4.1.5.7 function NeedAuth($sType='')
- 4.1.5.8 function LoginErrorRedirect($bSaveReturn=true)
- 4.1.5.9 function IsAuth()
- 4.1.5.10 function GetUserProfile($iId,$sType='customer')
- 4.1.5.11 function IsUser($sLogin,$sPassword,$bIgnoreVisible=false,$bSalt=false,$sOtherFieldAsLogin='')
- 4.1.5.12 function IsValidCookie($sCookie)
- 4.1.5.13 function RefreshSession($aUser)
- 4.1.5.14 function RefreshCookie($sLogin,$sPassword,$iIdCustomer)
- 4.1.5.15 function FilterLetters($input)
- 4.1.5.16 function GetIp()
- 4.1.5.17 function AutoCreateUser()
- 4.1.5.18 function CheckLogin($sLogin)
- 4.1.5.19 function GenerateLogin()
- 4.1.5.20 function GeneratePassword()
- 4.1.5.21 function UpdateLastVisit($aUser)
- 4.1.5.22 function UpdateCustomerReal($iUser)
- 4.1.5.23 function CheckPermissions($iIdAction)
- 4.1.6 Base.php
- 4.1.6.1 $db
- 4.1.6.2 $oOracleDb
- 4.1.6.3 $oTecdocDb
- 4.1.6.4 $tpl
- 4.1.6.5 $language
- 4.1.6.6 $LC
- 4.1.6.7 $aGeneralConf
- 4.1.6.8 $aDbConf
- 4.1.6.9 $oResponse
- 4.1.6.10 $oCurrency
- 4.1.6.11 $oContent
- 4.1.6.12 $aConst
- 4.1.6.13 $aConstant
- 4.1.6.14 $aRequest
- 4.1.6.15 $sText
- 4.1.6.16 $aData
- 4.1.6.17 $sProjectName
- 4.1.6.18 $aMenuSection
- 4.1.6.19 $bRightSectionVisible
- 4.1.6.20 $sBaseTemplate
- 4.1.6.21 $bXajaxPresent
- 4.1.6.22 $aMessageJavascript
- 4.1.6.23 $sOuterJavascript
- 4.1.6.24 $sServerQueryString
- 4.1.6.25 $aTopPageTemplate
- 4.1.6.26 $sZirHtml
- 4.1.6.27 function PreInit()
- 4.1.6.28 function Init()
- 4.1.6.29 function ProcessAjax()
- 4.1.6.30 function Process()
- 4.1.6.31 function EscapeAll(&$aData)
- 4.1.6.32 function UnescapeAll(&$aData)
- 4.1.6.33 function FixParseStrBug(&$aArray)
- 4.1.6.34 function Redirect($sUrl,$is_check_lower=1)
- 4.1.6.35 function LocalLog($sText)
- 4.1.6.36 function GetSql($sScript, $aData = array())
- 4.1.6.37 function UpdateConstant($sKey, $sValue)
- 4.1.6.38 function GetConstant($sKey,$sDefaultValue=)
- 4.1.6.39 function Message($aMessage=array(),$bGetText=true)
- 4.1.6.40 function RemoveMessageFromUrl($sUrl)
- 4.1.6.41 function SendSiteInfo()
- 4.1.6.42 function MstarprojectBase()
- 4.1.7 BaseTemp.php
- 4.1.8 Cache.php
- 4.1.9 Capcha.php
- 4.1.9.1 $aMathematicOperator
- 4.1.9.2 function __construct()
- 4.1.9.3 function GetMathematic($sTemplate='addon/capcha/mathematic.tpl')
- 4.1.9.4 function CheckMathematic()
- 4.1.9.5 function GetRandomOperator()
- 4.1.9.6 function GetRandomOperand()
- 4.1.9.7 function GetValidationHash($sMathematicFormula)
- 4.1.9.8 function ClearOldHash()
- 4.1.9.9 function AddHash($sType='mathematic',$sHash)
- 4.1.9.10 function IsFreeFromCapcha()
- 4.1.9.11 function SaveLastCapcha()
- 4.1.9.12 function GetGraphics()
- 4.1.9.13 function CheckGraph()
- 4.1.10 Category.php
- 4.1.11 Comment.php
- 4.1.11.1 function __construct()
- 4.1.11.2 function GetCommentList($sSection,$sId,$bXajaxResponse=false,$bHideUnapproved=false)
- 4.1.11.3 function GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
- 4.1.11.4 function GetCommentLink($sSection,$sId,$sLink,$bHideUnapproved=false)
- 4.1.11.5 function Post()
- 4.1.11.6 function PopupPost()
- 4.1.11.7 function GetCommentHash($sSection,$aId)
- 4.1.12 ContactForm.php
- 4.1.13 DateFormat.php
- 4.1.13.1 function GetBaseDate($sFormat,$iTimestamp=,$iTimeZone=)
- 4.1.13.2 function GetDate($iTimestamp=,$iTimeZone=)
- 4.1.13.3 function GetTime($iTimestamp=,$iTimeZone=)
- 4.1.13.4 function GetDateTime($iTimestamp=,$iTimeZone=)
- 4.1.13.5 function FormatSearch($sSearchDate, $sFormat='Y-m-d H:i:s')
- 4.1.13.6 function FormatSearchNow()
- 4.1.13.7 function FormatSearchTomorrow()
- 4.1.13.8 function GetFileDateTime($iTimestamp=,$iTimeZone=,$bShowSecond=true)
- 4.1.13.9 function GetPostDate($sPostDate,$iTimeZone=)
- 4.1.13.10 function GetPostDateTime($sPostDate,$iTimeZone=)
- 4.1.13.11 function GetSqlDate($sNameField="post_date")
- 4.1.13.12 function GetSqlStrToDate($sPostDate)
- 4.1.13.13 function GetNextMonth($sPostDate)
- 4.1.13.14 function Seconds2Times($seconds)
- 4.1.13.15 function NameIntervalDate($aDiffDate)
- 4.1.14 Db.php
- 4.1.14.1 function Execute($sSql,$aInput=false)
- 4.1.14.2 function GetAll($sSql)
- 4.1.14.3 function GetAssoc($sSql, $aData=array(), $bReturnSql=false)
- 4.1.14.4 function GetRow($sSql)
- 4.1.14.5 function GetOne($sSql)
- 4.1.14.6 function AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
- 4.1.14.7 function Debug()
- 4.1.14.8 function LogSql($bEnable=true)
- 4.1.14.9 function InsertId()
- 4.1.14.10 function AffectedRow()
- 4.1.14.11 function StartTrans()
- 4.1.14.12 function FailTrans()
- 4.1.14.13 function CompleteTrans()
- 4.1.14.14 function Escape($aData)
- 4.1.14.15 function GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
- 4.1.14.16 function SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
- 4.1.14.17 function GetTableInfo($sType=)
- 4.1.14.18 function SetWhere(&$sWhere,$aData,$sDataField,$sPrefix,$sTableField="")
- 4.1.14.19 function GetDateFormat($sNameField="post_date", $sFormat="")
- 4.1.14.20 function GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
- 4.1.15 Dbtree.php
- 4.1.15.1 $ERRORS
- 4.1.15.2 $ERRORS_MES
- 4.1.15.3 $table
- 4.1.15.4 $table_id
- 4.1.15.5 $table_left
- 4.1.15.6 $table_right
- 4.1.15.7 $table_level
- 4.1.15.8 $res
- 4.1.15.9 function Dbtree($table="", $prefix="")
- 4.1.15.10 function Clear($data = array())
- 4.1.15.11 function GetNodeInfo($section_id, $cache = FALSE)
- 4.1.15.12 function GetParentInfo($section_id, $condition = , $cache = FALSE)
- 4.1.15.13 function Insert($section_id, $condition = , $data = array())
- 4.1.15.14 function InsertNear($ID, $condition = , $data = array())
- 4.1.15.15 function MoveAll($ID, $newParentId, $condition = )
- 4.1.15.16 function ChangePosition($id1, $id2)
- 4.1.15.17 function ChangePositionAll($id1, $id2, $position = 'after', $condition = )
- 4.1.15.18 function Delete($ID, $condition = )
- 4.1.15.19 function DeleteAll($ID, $condition = )
- 4.1.15.20 function Full($fields, $condition = , $cache = FALSE)
- 4.1.15.21 function Branch($ID, $fields, $condition = , $cache = FALSE)
- 4.1.15.22 function Parents($ID, $fields, $condition = , $cache = FALSE)
- 4.1.15.23 function Ajar($ID, $fields, $condition = , $cache = FALSE, $sOpenLevel='1')
- 4.1.15.24 function AjarBranch($ID, $fields, $condition = , $cache = FALSE, $sOpenLevel='1')
- 4.1.15.25 function RecordCount()
- 4.1.15.26 function NextRow()
- 4.1.15.27 function _PrepareCondition($condition, $where = FALSE, $prefix = )
- 4.1.15.28 function GetAllData()
- 4.1.15.29 function GetAssocData()
- 4.1.15.30 function FullTree($with_space=false)
- 4.1.15.31 function FullFoSelect($with_space=false)
- 4.1.15.32 function MoveItem($id,$to=-1)
- 4.1.15.33 function AddSpaceItem($a,$iSpace=6 )
- 4.1.15.34 function GetData($sType, $id=1, $fields = , $condition = , $cache = false, $iSpace=0, $bAssoc=false, $sOpenLevel='1')
- 4.1.16 Debug.php
- 4.1.17 DirectorySite.php
- 4.1.18 ExcelOld.php
- 4.1.18.1 class ExcelOld
- 4.1.18.1.1 $oExcel
- 4.1.18.1.2 $aStyle
- 4.1.18.1.3 $aStyleBold
- 4.1.18.1.4 $aStyleRight
- 4.1.18.1.5 $aStyleLeft
- 4.1.18.1.6 $aStyleBorderThickLeft
- 4.1.18.1.7 $aStyleBorderThickRight
- 4.1.18.1.8 $aStyleFormatText
- 4.1.18.1.9 $oWriter
- 4.1.18.1.10 $oDrawing
- 4.1.18.1.11 function Excel()
- 4.1.18.1.12 function SetActiveSheetIndex($i=0)
- 4.1.18.1.13 function GetActiveSheet()
- 4.1.18.1.14 function SetShowSummaryBelow($sState=true)
- 4.1.18.1.15 function SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
- 4.1.18.1.16 function SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
- 4.1.18.1.17 function SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
- 4.1.18.1.18 function SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
- 4.1.18.1.19 function SetAutoSize($aHeader)
- 4.1.18.1.20 function DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
- 4.1.18.1.21 function SetTitle($sTitle="")
- 4.1.18.1.22 function WriterExcel5($sFileNameFull,$bOutput=false)
- 4.1.18.1.23 function WriterExcel7($sFileNameFull)
- 4.1.18.1.24 function SetDefaultFont($sName, $iSize=0)
- 4.1.18.1.25 function ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.18.1.26 function ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.18.1.27 function SetPrintBreak($sCordinate)
- 4.1.18.1.28 function SetRowToRepeat($iRowStart,$iRowEnd)
- 4.1.18.1.29 function MergeCell($sRange)
- 4.1.18.1.30 function WriterPdf($sFileNameFull,$bOutput=false)
- 4.1.18.1.31 function WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
- 4.1.18.1.32 function WriterHtml($sFileNameFull)
- 4.1.18.1.33 function GetRowHeight($iRow)
- 4.1.18.1.34 function SetRowHeight($iRow,$dSize)
- 4.1.18.1.35 function SetColWidth($sCol,$dSize)
- 4.1.18.1.36 function GetReadData()
- 4.1.18.1.37 function GetSpreadsheetData()
- 4.1.18.1.38 function GetMergeCell()
- 4.1.18.1.39 function CreateSheet()
- 4.1.18.1.40 function RemoveSheet($iSheet)
- 4.1.18.1.41 function SetProtectionFile($sPassword="12345")
- 4.1.18.1.42 function SetDrawing($sCordinate,$sFullPath,$iHeight=0)
- 4.1.18.1.43 function freezePane($sCell)
- 4.1.18.1.44 function RemoveRow($iRow)
- 4.1.18.1.45 function CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
- 4.1.18.1.46 function SetWrapText($sRange)
- 4.1.18.1.47 function GetNextColumn($sColumn="")
- 4.1.18.1.48 function SetCreateReader()
- 4.1.18.1.49 function CreateObjectExcel2007()
- 4.1.18.2 class chunkReadFilter
- 4.1.18.1 class ExcelOld
- 4.1.19 Excel.php
- 4.1.19.1 class Excel
- 4.1.19.1.1 $oExcel
- 4.1.19.1.2 $aStyle
- 4.1.19.1.3 $aStyleBold
- 4.1.19.1.4 $aStyleRight
- 4.1.19.1.5 $aStyleLeft
- 4.1.19.1.6 $aStyleBorderThickLeft
- 4.1.19.1.7 $aStyleBorderThickRight
- 4.1.19.1.8 $aStyleFormatText
- 4.1.19.1.9 $oWriter
- 4.1.19.1.10 $oDrawing
- 4.1.19.1.11 function __destruct()
- 4.1.19.1.12 function Excel()
- 4.1.19.1.13 function SetActiveSheetIndex($i=0)
- 4.1.19.1.14 function GetActiveSheet()
- 4.1.19.1.15 function SetShowSummaryBelow($sState=true)
- 4.1.19.1.16 function SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
- 4.1.19.1.17 function SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
- 4.1.19.1.18 function SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
- 4.1.19.1.19 function SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
- 4.1.19.1.20 function SetAutoSize($aHeader)
- 4.1.19.1.21 function DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
- 4.1.19.1.22 function SetTitle($sTitle="")
- 4.1.19.1.23 function WriterExcel5($sFileNameFull,$bOutput=false)
- 4.1.19.1.24 function WriterExcel7($sFileNameFull,$bOutput=false)
- 4.1.19.1.25 function SetDefaultFont($sName, $iSize=0)
- 4.1.19.1.26 function ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.19.1.27 function ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.19.1.28 function SetPrintBreak($sCordinate)
- 4.1.19.1.29 function SetRowToRepeat($iRowStart,$iRowEnd)
- 4.1.19.1.30 function MergeCell($sRange)
- 4.1.19.1.31 function WriterPdf($sFileNameFull,$bOutput=false)
- 4.1.19.1.32 function WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
- 4.1.19.1.33 function WriterHtml($sFileNameFull)
- 4.1.19.1.34 function GetRowHeight($iRow)
- 4.1.19.1.35 function SetRowHeight($iRow,$dSize)
- 4.1.19.1.36 function SetColWidth($sCol,$dSize)
- 4.1.19.1.37 function GetReadData()
- 4.1.19.1.38 function GetSpreadsheetData()
- 4.1.19.1.39 function GetMergeCell()
- 4.1.19.1.40 function CreateSheet()
- 4.1.19.1.41 function RemoveSheet($iSheet)
- 4.1.19.1.42 function SetProtectionFile($sPassword="12345")
- 4.1.19.1.43 function SetDrawing($sCordinate,$sFullPath,$iHeight=0)
- 4.1.19.1.44 function freezePane($sCell)
- 4.1.19.1.45 function RemoveRow($iRow)
- 4.1.19.1.46 function CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
- 4.1.19.1.47 function SetWrapText($sRange)
- 4.1.19.1.48 function GetNextColumn($sColumn="")
- 4.1.19.1.49 function SetCreateReader()
- 4.1.19.1.50 function CreateObjectExcel2007()
- 4.1.19.2 class chunkReadFilter
- 4.1.19.1 class Excel
- 4.1.20 FileCache.php
- 4.1.21 File.php
- 4.1.21.1 function GetFromDir($sPathToDir, $bComparative=true)
- 4.1.21.2 function RemoveToDir($aFile, $sPathToDir, $bComparative=true, $bAddTime=true, $bDeleteBefore=true)
- 4.1.21.3 function Write($aFile,$sContent,$sMode="w")
- 4.1.21.4 function Extract($sPathToFile, $sPathToExtract)
- 4.1.21.5 function ExtractForPrice($sPathToFile, $sPathToExtract)
- 4.1.21.6 function ExtractFirstFile($sPathToFile, $sPathToExtract)
- 4.1.21.7 function CheckFileUpload($aFile)
- 4.1.22 Form.php
- 4.1.22.1 $sHeader
- 4.1.22.2 $sAdditionalTitle
- 4.1.22.3 $sTitle
- 4.1.22.4 $sContent
- 4.1.22.5 $sClass
- 4.1.22.6 $sSubmitButton
- 4.1.22.7 $sSubmitAction
- 4.1.22.8 $sReturnButton
- 4.1.22.9 $sReturnAction
- 4.1.22.10 $sError
- 4.1.22.11 $sErrorNT
- 4.1.22.12 $sHidden
- 4.1.22.13 $sConfirmText
- 4.1.22.14 $bIsPost
- 4.1.22.15 $sWidth
- 4.1.22.16 $bShowBottomForm
- 4.1.22.17 $bConfirmSubmit
- 4.1.22.18 $sButtonsPadding
- 4.1.22.19 $bAutoReturn
- 4.1.22.20 $sAdditionalButton
- 4.1.22.21 $sAdditionalButtonTemplate
- 4.1.22.22 $sReturn
- 4.1.22.23 $sRightTemplate
- 4.1.22.24 $bSetDefault
- 4.1.22.25 $sTemplatePath
- 4.1.22.26 $sBeforeContent
- 4.1.22.27 $sAfterContent
- 4.1.22.28 $sTitleDivHeader
- 4.1.22.29 $sReturnButtonClass
- 4.1.22.30 $sSubmitButtonClass
- 4.1.22.31 $bReturnAfterSubmit
- 4.1.22.32 $sButtonSpanClass
- 4.1.22.33 $sButtonDivClass
- 4.1.22.34 $aField
- 4.1.22.35 $bType
- 4.1.22.36 function __construct($aData=array())
- 4.1.22.37 function GetForm($sContent=)
- 4.1.22.38 function ShowError($sError)
- 4.1.22.39 function BeforeReturn($sAction,$sEditAction=)
- 4.1.22.40 function AfterReturn($sAction,$sMessage=)
- 4.1.22.41 function RedirectAuto($sMessage="")
- 4.1.22.42 function Error404($bRedirectMissing=false)
- 4.1.23 HtmlDom.php
- 4.1.24 ImageProcess.php
- 4.1.24.1 $aDisallowedExtension
- 4.1.24.2 $aAllowedExtension
- 4.1.24.3 function GetUploadedImage($sFieldName,$iMaxUploaded=3,$sTargetPath='/imgbank/Image/' ,$iIdCustom=,$iBigWidth=600,$iSmallWidth=80,$bLeaveOriginal=false)
- 4.1.24.4 function ImageResize($sSource, $sDestination, $iNewWidth, $sExtension)
- 4.1.24.5 function CreateSubnail($sSource,$sTargetPath='/imgbank/Image/',$iIdCustom=,$iBigWidth=600,$iMiddleWidth=300,$iSmallWidth=100)
- 4.1.24.6 function ParseExtension($sPath)
- 4.1.25 Language.php
- 4.1.25.1 $aTranslateMessage
- 4.1.25.2 $aTranslateText
- 4.1.25.3 $aContextHint
- 4.1.25.4 $sLocale
- 4.1.25.5 $iLocale
- 4.1.25.6 $aLanguageList
- 4.1.25.7 $aLanguageAssoc
- 4.1.25.8 $sBaseLocale
- 4.1.25.9 $aOldParser
- 4.1.25.10 function __construct($sBaseLocale = )
- 4.1.25.11 function GetLocale()
- 4.1.25.12 function GetMessage($sKey, $sPage = "")
- 4.1.25.13 function GetDMessage($sKey, $sPage = "")
- 4.1.25.14 function GetText($sKey, $sPage = "")
- 4.1.25.15 function GetContextHint($sKey, $bUnique = false)
- 4.1.25.16 function GetOrderStatus($sKey)
- 4.1.25.17 function PrintPrice($dAmount,$bAbs=false,$bInvert=false,$sOutputType=,$sPriceType=)
- 4.1.25.18 function PrintCurrencyPrice($dAmount,$sCurrency='USD')
- 4.1.25.19 function PrintPriceByType($dAmount,$sPriceType='USD')
- 4.1.25.20 function Price($dAmount, $sPriceType=,$bAbs=false,$bInvert=false)
- 4.1.25.21 function GetDate($iTimestamp = , $iTimeZone = ,$bCurrentForce=false)
- 4.1.25.22 function GetDateTime($iTimestamp = , $iTimeZone = )
- 4.1.25.23 function GetPostDate($sPostDate,$iTimeZone=)
- 4.1.25.24 function GetPostDateTime($sPostDate,$iTimeZone=)
- 4.1.25.25 function FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s')
- 4.1.25.26 function GetLocalizedRow($aData)
- 4.1.25.27 function GetLocalizedAll($aData, $bReturnSql=false, $sAssocField = )
- 4.1.25.28 function Array2Hash($data, $key_array = )
- 4.1.25.29 function GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false)
- 4.1.25.30 function GetConstant($sKey,$sDefaultValue=)
- 4.1.25.31 function GetMessageArray($aArrayKey, $sPage = "")
- 4.1.25.32 function IncludeLocaleMap($sMap)
- 4.1.25.33 function AddOldParser($sObject,$iId)
- 4.1.25.34 function ReplaceOldParser($sOutput)
- 4.1.25.35 function GetCatalogMessage($sKey, $sPage = "")
- 4.1.25.36 function GetTranslit($sString, $sCharset='utf-8')
- 4.1.25.37 function PrintPriceCalc($aPrice)
- 4.1.25.38 function SetText($sKey, $sContent = "")
- 4.1.26 LocaleGlobal.php
- 4.1.27 Log.php
- 4.1.27.1 function __construct()
- 4.1.27.2 function VisitAdd()
- 4.1.27.3 function AdminAdd($sAction,$sTableName=,$sBeforeApply=,$sAfterApply=)
- 4.1.27.4 function FinanceAdd($aData,$sSection,$iIdUser=,$sDescription,$sCreatedBy=)
- 4.1.27.5 function GlobalAdd($aData,$sSection,$iIdUser=)
- 4.1.27.6 function OrderAdd($aData,$sSection,$iIdUser=)
- 4.1.28 Mail.php
- 4.1.28.1 $bAddedNoRply
- 4.1.28.2 function SendNow($sAddress,$sSubject,$sBody,$sFrom=,$sFromName=,$sCc=,$iLanguage=null, $bFromDelayed=false, $iPriority=5)
- 4.1.28.3 function SendAttach($sAddress,$sSubject,$sBody,$aAttachment=array(),$sCc=,$sFrom=,$sFromName=,$sCharSet = 'cp1251')
- 4.1.28.4 function AddDelayed($sAddress,$sSubject,$sBody,$sFromEmail=,$sFromName=,$bCheckEmail=true, $iPriority=5 ,$sAttachCode=,$sDescription=,$sSendAfterDate=)
- 4.1.28.5 function SendDelayed($iLetter=1)
- 4.1.28.6 function OpenAccount($sHost,$iPort,$sUsername,$sPassword,$sType="pop3",$sFolder="",$bSsl=false)
- 4.1.28.7 function GetEmailCount($oAccount)
- 4.1.28.8 function GetEmailHeader($oAccount,$iNumberEmail)
- 4.1.28.9 function GetAttachment($oAccount,$iNumberEmail)
- 4.1.28.10 function DecodeMimeString($sString)
- 4.1.28.11 function DeleteEmail($oAccount,$iNumberEmail)
- 4.1.28.12 function CloseAcount($oAccount)
- 4.1.28.13 function GetSenderEmail($oAccount,$iNumberEmail)
- 4.1.29 Message.php
- 4.1.29.1 function __construct()
- 4.1.29.2 function Index()
- 4.1.29.3 function Prepare()
- 4.1.29.4 function MoveToFolder()
- 4.1.29.5 function Reply()
- 4.1.29.6 function Forward()
- 4.1.29.7 function Send()
- 4.1.29.8 function Draft()
- 4.1.29.9 function Compose()
- 4.1.29.10 function Delete()
- 4.1.29.11 function Clear()
- 4.1.29.12 function Preview()
- 4.1.29.13 function ChangeCurrentFolder()
- 4.1.29.14 function MessageNumber($iIdUser,$iIdMessageFolder)
- 4.1.29.15 function CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser=,$sUserFrom=)
- 4.1.29.16 function SendMessage($sTo,$sSubject,$sText,$iIdMessage=,$bSendEmail=true)
- 4.1.29.17 function DeleteMessage($iId)
- 4.1.29.18 function EraseMessage($iId)
- 4.1.29.19 function MoveMessage($iId,$iIdMessageFolder)
- 4.1.29.20 function getUserList($aLogin)
- 4.1.29.21 function ReadMessage($iId)
- 4.1.29.22 function CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId=,$iPriority=3)
- 4.1.29.23 function CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
- 4.1.29.24 function SendBulkUserNotification($sAdditionalWhere=)
- 4.1.29.25 function PreviewUserNotification()
- 4.1.29.26 function AddNote($iIdUser,$sName,$sDescription,$sUrl=,$sReplyTo=)
- 4.1.29.27 function CheckNote()
- 4.1.29.28 function NoteClose()
- 4.1.29.29 function CreateCustomerIdExcel($aUserNotification)
- 4.1.30 Payment.php
- 4.1.30.1 $aWebmoneyPurse
- 4.1.30.2 $aMoneyBookersCurrency
- 4.1.30.3 function __construct()
- 4.1.30.4 function Index()
- 4.1.30.5 function WebmoneyResult()
- 4.1.30.6 function WebmoneySuccess()
- 4.1.30.7 function WebmoneyFail()
- 4.1.30.8 function Log($sMethod='webmoney', $sMessage=)
- 4.1.30.9 function WebMoneyPayment()
- 4.1.30.10 function MoneybookersResult()
- 4.1.30.11 function MoneybookersSuccess()
- 4.1.30.12 function MoneybookersFail()
- 4.1.30.13 function MoneybookersPayment()
- 4.1.30.14 function PaypalResult()
- 4.1.30.15 function PaypalSuccess()
- 4.1.30.16 function PaypalFail()
- 4.1.30.17 function PaypalPayment()
- 4.1.30.18 function decodeQouta( $str )
- 4.1.30.19 function decodeGPC( $str )
- 4.1.30.20 function LiqpayResult()
- 4.1.30.21 function LiqpaySuccess()
- 4.1.30.22 function LiqpayFail()
- 4.1.30.23 function LiqpayPayment()
- 4.1.30.24 function GetLiqpayOperationXml()
- 4.1.30.25 function ParseTag($rs, $tag)
- 4.1.30.26 function GetTransactionAccount($sAccountId,$sCurrencyCode=)
- 4.1.30.27 function WebtopayResult()
- 4.1.30.28 function WebtopaySuccess()
- 4.1.30.29 function WebtopayFail()
- 4.1.30.30 function WebtopayPayment()
- 4.1.30.31 function QiwiResult()
- 4.1.30.32 function QiwiPayment()
- 4.1.30.33 function MonexyResult()
- 4.1.30.34 function MonexySuccess()
- 4.1.30.35 function MonexyFail()
- 4.1.30.36 function MonexyPayment()
- 4.1.30.37 function UnitellerResult()
- 4.1.30.38 function UnitellerSuccess()
- 4.1.30.39 function UnitellerFail()
- 4.1.30.40 function UnitellerPayment()
- 4.1.31 Permission.php
- 4.1.32 PrintContent.php
- 4.1.33 Repository.php
- 4.1.34 Resource.php
- 4.1.35 Sms.php
- 4.1.35.1 function __construct()
- 4.1.35.2 function FormatNumber($sPhoneNumber)
- 4.1.35.3 function SendGT($sPhoneNumber, $sMessage, $iTimeout = 10)
- 4.1.35.4 function SendTurbo($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
- 4.1.35.5 function SendTurboV2($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
- 4.1.35.6 function SendNow($sPhoneNumber, $sMessage)
- 4.1.35.7 function AddDelayed($sPhoneNumber, $sMessage)
- 4.1.35.8 function SendDelayed($iMessage = 1)
- 4.1.35.9 function SendClickatell($sPhoneNumber, $sMessage, $sSender =)
- 4.1.36 String.php
- 4.1.36.1 function Serialize($aValue)
- 4.1.36.2 function Unserialize($sValue)
- 4.1.36.3 function FirstNwords($sString, $iWord)
- 4.1.36.4 function CheckEmail($sEmail)
- 4.1.36.5 function FilterRequestData($aData,$aFieldArray=array())
- 4.1.36.6 function QuoteCommaString($sString)
- 4.1.36.7 function CheckDomain($sHaystack, $sNeedle)
- 4.1.36.8 function UtfEncode($sString)
- 4.1.36.9 function GetSmartyTemplate($sKey,$aTemplateData=array(), $bOldStyleTemplate=true)
- 4.1.36.10 function GetTemplateRow($sKey)
- 4.1.36.11 function GetPage($sKey, $bShowInvisible=false)
- 4.1.36.12 function ProcessDropDownAdditional()
- 4.1.36.13 function ProcessStatic()
- 4.1.36.14 function GetDecimal($sDouble)
- 4.1.36.15 function Md5Salt($sPassword,$sSalt)
- 4.1.36.16 function GenerateSalt()
- 4.1.36.17 function GeneratePref($sPrefIn=)
- 4.1.36.18 function GetUcfirst($sString)
- 4.1.36.19 function GetUcword($sString)
- 4.1.36.20 function FormatPhoneNumber($sString,$bNeedCat=TRUE)
- 4.1.36.21 function CheckUaPhone($sString)
- 4.1.36.22 function ParseSize($size)
- 4.1.36.23 function FormatSize($size)
- 4.1.36.24 function FormatPlural($count, $singular, $plural)
- 4.1.37 Table.php
- 4.1.37.1 $sType
- 4.1.37.2 $aDataFoTable
- 4.1.37.3 $sSql
- 4.1.37.4 $sTableSql
- 4.1.37.5 $aItem
- 4.1.37.6 $aColumn
- 4.1.37.7 $iRowPerPage
- 4.1.37.8 $iRowPerFirstPage
- 4.1.37.9 $iRowPerPageGeneral
- 4.1.37.10 $iPage
- 4.1.37.11 $bShowRowsPerPage
- 4.1.37.12 $sActionRowPerPage
- 4.1.37.13 $bShowPerPageAll
- 4.1.37.14 $iStepNumber
- 4.1.37.15 $aOrderedColumn
- 4.1.37.16 $aOrdered
- 4.1.37.17 $sDefaultOrder
- 4.1.37.18 $sWidth
- 4.1.37.19 $sClass
- 4.1.37.20 $sStepperClass
- 4.1.37.21 $sStepperClassTd
- 4.1.37.22 $sStepperActiveItemClass
- 4.1.37.23 $sStepperInfoClass
- 4.1.37.24 $bStepperInfo
- 4.1.37.25 $bStepperOutTable
- 4.1.37.26 $bStepperHideNoPages
- 4.1.37.27 $sCellSpacing
- 4.1.37.28 $sDataTemplate
- 4.1.37.29 $sButtonTemplate
- 4.1.37.30 $sSubtotalTemplate
- 4.1.37.31 $sSubtotalTemplateTop
- 4.1.37.32 $sAddButton
- 4.1.37.33 $sAddAction
- 4.1.37.34 $aCallback
- 4.1.37.35 $aCallbackAfter
- 4.1.37.36 $bSetDefault
- 4.1.37.37 $bPearStepper
- 4.1.37.38 $bStepperVisible
- 4.1.37.39 $bAjaxStepper
- 4.1.37.40 $bHeaderVisible
- 4.1.37.41 $bHeaderVisibleGroup
- 4.1.37.42 $bHeaderNobr
- 4.1.37.43 $bCheckVisible
- 4.1.37.44 $bCheckRightVisible
- 4.1.37.45 $bCheckOnClick
- 4.1.37.46 $sCheckAction
- 4.1.37.47 $bCheckAllVisible
- 4.1.37.48 $sCheckAllAction
- 4.1.37.49 $bDefaultChecked
- 4.1.37.50 $sCheckAllClass
- 4.1.37.51 $bFormAvailable
- 4.1.37.52 $sFormAction
- 4.1.37.53 $sCheckField
- 4.1.37.54 $iAllRow
- 4.1.37.55 $bHideTr
- 4.1.37.56 $sIdiTr
- 4.1.37.57 $sIdForm
- 4.1.37.58 $sHeaderRight
- 4.1.37.59 $sTemplateName
- 4.1.37.60 $sFilterTemplateName
- 4.1.37.61 $sPrefix
- 4.1.37.62 $sQueryString
- 4.1.37.63 $sOrderAscImage
- 4.1.37.64 $sOrderDescImage
- 4.1.37.65 $sHeaderClassSelect
- 4.1.37.66 $bFilterVisible
- 4.1.37.67 $aFilter
- 4.1.37.68 $sFormHeader
- 4.1.37.69 $sStepperAlign
- 4.1.37.70 $iGallery
- 4.1.37.71 $bIsGallery
- 4.1.37.72 $sStepperType
- 4.1.37.73 $bStepperOnePageShow
- 4.1.37.74 $bCacheStepper
- 4.1.37.75 $bTopStepper
- 4.1.37.76 $sNoItem
- 4.1.37.77 $bCountStepper
- 4.1.37.78 $iStepLimit
- 4.1.37.79 $bStepperStyling
- 4.1.37.80 $bTableWithoytStyle
- 4.1.37.81 $iStartStep
- 4.1.37.82 $bHeaderType
- 4.1.37.83 $sMarkAllText
- 4.1.37.84 $sManualLimit
- 4.1.37.85 $sButtonSpanClass
- 4.1.37.86 $sPanelTemplateTop
- 4.1.37.87 $sLinkPrefix
- 4.1.37.88 $sLinkRewrite
- 4.1.37.89 $sIdTable
- 4.1.37.90 $iColspanFilter
- 4.1.37.91 $iColspanSearchStrong
- 4.1.37.92 function __construct()
- 4.1.37.93 function GetTable($sHeader = , $sHint = ,$sStaticHeader=,$sHeaderNT = )
- 4.1.37.94 function getStepper($iRowNumber)
- 4.1.37.95 function printPage($countPage, $actPage)
- 4.1.37.96 function getStepperPear($iRowNumber)
- 4.1.37.97 function getFilter()
- 4.1.37.98 function Customize()
- 4.1.37.99 function SetSql($sScript, $aData = array())
- 4.1.37.100 function sortArrayCallback($sA, $sB)
- 4.1.37.101 function setArray($aData)
- 4.1.37.102 function GetFilteredProductEnding($iCount)
- 4.1.38 Tree.php
- 4.1.38.1 $sType
- 4.1.38.2 $aDataFoTable
- 4.1.38.3 $sSql
- 4.1.38.4 $sTableSql
- 4.1.38.5 $aItem
- 4.1.38.6 $aColumn
- 4.1.38.7 $iRowPerPage
- 4.1.38.8 $iPage
- 4.1.38.9 $iStepNumber
- 4.1.38.10 $aOrderedColumn
- 4.1.38.11 $aOrdered
- 4.1.38.12 $sDefaultOrder
- 4.1.38.13 $sWidth
- 4.1.38.14 $sClass
- 4.1.38.15 $sDataTemplate
- 4.1.38.16 $sButtonTemplate
- 4.1.38.17 $sSubtotalTemplate
- 4.1.38.18 $sAddButton
- 4.1.38.19 $sAddAction
- 4.1.38.20 $aCallback
- 4.1.38.21 $bPearStepper
- 4.1.38.22 $bStepperVisible
- 4.1.38.23 $bAjaxStepper
- 4.1.38.24 $bHeaderVisible
- 4.1.38.25 $bCheckVisible
- 4.1.38.26 $bCheckAllVisible
- 4.1.38.27 $bDefaultChecked
- 4.1.38.28 $bFormAvailable
- 4.1.38.29 $sCheckField
- 4.1.38.30 $iAllRow
- 4.1.38.31 $bHideTr
- 4.1.38.32 $sHeaderRight
- 4.1.38.33 $sTemplateName
- 4.1.38.34 $sFilterTemplateName
- 4.1.38.35 $sPrefix
- 4.1.38.36 $sQueryString
- 4.1.38.37 $sOrderAscImage
- 4.1.38.38 $sOrderDescImage
- 4.1.38.39 $bFilterVisible
- 4.1.38.40 $aFilter
- 4.1.38.41 $sFormHeader
- 4.1.38.42 $sStepperAlign
- 4.1.38.43 $iGallery
- 4.1.38.44 $bIsGallery
- 4.1.38.45 $sStepperType
- 4.1.38.46 $bCacheStepper
- 4.1.38.47 $bTopStepper
- 4.1.38.48 $sNoItem
- 4.1.38.49 $bCountStepper
- 4.1.38.50 function __construct()
- 4.1.38.51 function getTree($sHeader = , $sHint = )
- 4.1.38.52 function getStepper($iRowNumber)
- 4.1.38.53 function getStepperPear($iRowNumber)
- 4.1.38.54 function getFilter()
- 4.1.38.55 function Customize()
- 4.1.38.56 function setSql($sScript, $aData = array())
- 4.1.38.57 function sortArrayCallback($sA, $sB)
- 4.1.38.58 function setArray($aData)
- 4.1.39 VinRequest.php
- 4.1.39.1 function __construct($bNeedAuth=true)
- 4.1.39.2 function Index()
- 4.1.39.3 function Preview()
- 4.1.39.4 function Manager()
- 4.1.39.5 function ManagerSave($bRedirect=true)
- 4.1.39.6 function ManagerSend()
- 4.1.39.7 function ManagerRefuse()
- 4.1.39.8 function ManagerRelease($iId)
- 4.1.39.9 function ManagerMobileNotification($aVinRequest)
- 4.1.39.10 function GetVinIdList($bReturnArray=false)
- 4.1.39.11 function ManagerRemember()
- 4.1.40 XajaxParser.php
- 4.2 Каталог module
- 4.2.1 AdminRegulations.php
- 4.2.2 Binotel.php
- 4.2.2.1 $oBinotel
- 4.2.2.2 function __construct()
- 4.2.2.3 function InputCalls()
- 4.2.2.4 function OutputCalls()
- 4.2.2.5 function LostCalls()
- 4.2.2.6 function CallsByManager()
- 4.2.2.7 function CallsByNumber()
- 4.2.2.8 function CallsNow()
- 4.2.2.9 function Managers()
- 4.2.2.10 function UserAdd()
- 4.2.2.11 function UserImport()
- 4.2.2.12 function UserEdit()
- 4.2.2.13 function Users()
- 4.2.2.14 function Call()
- 4.2.2.15 function Index()
- 4.2.2.16 function GetCallFromStart()
- 4.2.2.17 function GetCallRecord($sCallId)
- 4.2.2.18 function GetCallsNow()
- 4.2.2.19 function GetLostCalls()
- 4.2.2.20 function GetCallsByNumber($sNumber)
- 4.2.2.21 function GetCallsByUser($sUser)
- 4.2.2.22 function GetCallInfo($sCallId)
- 4.2.2.23 function GetMyLastCalls($sInternalNumber)
- 4.2.2.24 function GetMyCallsByDate($sInternalNumber,$iDateStart,$iDateEnd)
- 4.2.2.25 function GetCallsByDay()
- 4.2.2.26 function GetCallsByDate($sDateStart,$sDateEnd)
- 4.2.2.27 function GetInputCalls()
- 4.2.2.28 function GetOutputputCalls()
- 4.2.2.29 function GetAllUsers()
- 4.2.2.30 function GetUserById($iIdUser)
- 4.2.2.31 function GetUserByNameOrPhone($sNameOrPhone)
- 4.2.2.32 function CreateBinotelUser($sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
- 4.2.2.33 function EditBinotelUser($sId,$sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
- 4.2.2.34 function RemoveBinotelUser($iIdUser)
- 4.2.2.35 function GetClientLabels()
- 4.2.2.36 function GetAllManagers()
- 4.2.2.37 function MakeCallToExternal($iInternal,$iExternal)
- 4.2.2.38 function CallTransfer($iCallId,$iInternalNumber)
- 4.2.2.39 function KillCall($iCallId)
- 4.2.3 Buh.php
- 4.2.3.1 $sPrefix
- 4.2.3.2 $sCurrentPeriod
- 4.2.3.3 $sError
- 4.2.3.4 $sDateTo
- 4.2.3.5 $sDateFrom
- 4.2.3.6 $aActionException
- 4.2.3.7 $sCurrentPeriodLastDate
- 4.2.3.8 function __construct()
- 4.2.3.9 function Index()
- 4.2.3.10 function SetNextPeriod()
- 4.2.3.11 function GetLastDate($sDate)
- 4.2.3.12 function Entry($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
- 4.2.3.13 function EntrySingle($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
- 4.2.3.14 function EntryMany($aEntry)
- 4.2.3.15 function CheckParametr($aData)
- 4.2.3.16 function EntryMonth($sDateMonth, $iAccount, $iAccountSub1=0, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
- 4.2.3.17 function EntryMonthSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
- 4.2.3.18 function EntryMonthMany($aEntry)
- 4.2.3.19 function EntryMonthStartSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart)
- 4.2.3.20 function Changeling ()
- 4.2.3.21 function CallParseSum(&$aItem)
- 4.2.3.22 function CloseMonth()
- 4.2.3.23 function AddAmount()
- 4.2.3.24 function ChangeForm()
- 4.2.3.25 function ChangelingPreview($bVisibleForm=true)
- 4.2.3.26 function GetSubconto()
- 4.2.3.27 function GetAmount($sBuhSection,$iBuhSection,$idBuh,$sBuhType='credit')
- 4.2.3.28 function GetSaldoLast($iSubconto1,$iBuh='361')
- 4.2.4 CallMe.php
- 4.2.5 Cart.php
- 4.2.5.1 $sExportSql
- 4.2.5.2 function __construct($bNeedAuth=true)
- 4.2.5.3 function Index()
- 4.2.5.4 function CartList()
- 4.2.5.5 function AssignDeliveryMethods()
- 4.2.5.6 function CartOnePageOrder()
- 4.2.5.7 function CartOnePageOrderManager()
- 4.2.5.8 function CartPrint()
- 4.2.5.9 function CallParseCart(&$aItem)
- 4.2.5.10 function AddCartItemChecked()
- 4.2.5.11 function AddCartItem($iNumber=1,$bRedirect=true,$sReference='')
- 4.2.5.12 function CartUpdateNumber()
- 4.2.5.13 function OrderList()
- 4.2.5.14 function CallParseOrder(&$aItem)
- 4.2.5.15 function ParseVinCode($sVinCode, $iCheckVinLen = 17)
- 4.2.5.16 function PackageConfirm()
- 4.2.5.17 function PackageDelete()
- 4.2.5.18 function CheckAccount()
- 4.2.5.19 function SelectAccount()
- 4.2.5.20 function ShipmentDetail()
- 4.2.5.21 function PaymentMethod()
- 4.2.5.22 function PaymentEnd()
- 4.2.5.23 function PaymentEndButton()
- 4.2.5.24 function SendPendingWork($iIdCartPackage)
- 4.2.5.25 function PackagePrint()
- 4.2.5.26 function PackageList()
- 4.2.5.27 function NewAccountError()
- 4.2.5.28 function NewAccountManagerError()
- 4.2.5.29 function PopUpGetOwnAuto()
- 4.2.5.30 function RecalcCartUser($iIdUser,$iIdUserNew,$iIdCartPackage=0)
- 4.2.5.31 function GetBoardExpiredCartUser($iIdUser)
- 4.2.5.32 function CartExpiredCountPositions($iUserId = 0)
- 4.2.5.33 function CartExpiredInfo($iUserId = 0)
- 4.2.5.34 function OrderByPhone()
- 4.2.5.35 function NewAccountDeliveryInfoFields()
- 4.2.5.36 function CartOnepageDeliveryFields()
- 4.2.5.37 function CartOnepagePaymentFields()
- 4.2.6 CatalogManager.php
- 4.2.6.1 $sPrefix
- 4.2.6.2 $sPrefixAction
- 4.2.6.3 $sPathToFile
- 4.2.6.4 function Index()
- 4.2.6.5 function EditName()
- 4.2.6.6 function EditPic()
- 4.2.6.7 function UploadManyPics()
- 4.2.6.8 function UploadPic()
- 4.2.6.9 function ViewPicList()
- 4.2.6.10 function UploadMakeCodePic()
- 4.2.6.11 function AddInfo($aData=array())
- 4.2.6.12 function DeleteInfo($aData=array())
- 4.2.6.13 function SetItemCodeImage()
- 4.2.6.14 function ImportImage()
- 4.2.6.15 function DeleteImportImage()
- 4.2.6.16 function SetImportImage()
- 4.2.6.17 function ModelType()
- 4.2.6.18 function ModelTypeDelete($aData=array())
- 4.2.6.19 function AddCatInfo($aData)
- 4.2.6.20 function UpdateNumber()
- 4.2.7 Catalog.php
- 4.2.7.1 $sPrefix
- 4.2.7.2 $sPref
- 4.2.7.3 $aCode
- 4.2.7.4 $aCodeCross
- 4.2.7.5 $aItemCodeCross
- 4.2.7.6 $aExt
- 4.2.7.7 $sPathToFile
- 4.2.7.8 $bShowSeparator
- 4.2.7.9 $aCat
- 4.2.7.10 $aCats
- 4.2.7.11 $aModel
- 4.2.7.12 $aModelDetail
- 4.2.7.13 function __construct()
- 4.2.7.14 function Index()
- 4.2.7.15 function ViewModel()
- 4.2.7.16 function CallParseModel(&$aItem, $bSeparator=false)
- 4.2.7.17 function ViewModelGroup()
- 4.2.7.18 function GetModelPic($aData)
- 4.2.7.19 function GetModelDescription($aData)
- 4.2.7.20 function GetModelName($aData)
- 4.2.7.21 function ViewModelDetail($bShow=false)
- 4.2.7.22 function ModelFor()
- 4.2.7.23 function CallParseModelDetail(&$aItem, $bSeparator=false)
- 4.2.7.24 function ViewAssemblage()
- 4.2.7.25 function GetBranch($id, $aData)
- 4.2.7.26 function getAllParent($aTree, $iId, $iRootId, &$aCod)
- 4.2.7.27 function CallParsePart(&$aItem)
- 4.2.7.28 function GetNavigator($aData,$sCrumb = )
- 4.2.7.29 function StripCode($sCode)
- 4.2.7.30 function StripLogin($sCode)
- 4.2.7.31 function StripCodeSearch($sCode)
- 4.2.7.32 function StripCodeSql($sField)
- 4.2.7.33 function GetFormattedCode($sCode,$sPref)
- 4.2.7.34 function ViewPrice()
- 4.2.7.35 function GetPriceTableHead(&$oTable)
- 4.2.7.36 function CallParseBrand(&$aItem)
- 4.2.7.37 function CallParsePrice(&$aItem, $bSeparator=false)
- 4.2.7.38 function ActualFilter(&$aItem)
- 4.2.7.39 function PosPriceParse(&$aItem,$bHaveFirstSeparator=true,$bHaveAnalogs=true)
- 4.2.7.40 function GetJson()
- 4.2.7.41 function ViewInfoPart()
- 4.2.7.42 function OriginalCross()
- 4.2.7.43 function GetPriceForInfoPart($sCodeInput='',$sPrefInput='')
- 4.2.7.44 function ExportPrice()
- 4.2.7.45 function SetImageWidth()
- 4.2.7.46 function UpdatePrice($sItemCode="",$idProvider="",$dPrice=0)
- 4.2.7.47 function Cross()
- 4.2.7.48 function CrossLoad()
- 4.2.7.49 function CrossInstall()
- 4.2.7.50 function InstallExcel($aCrossProfile, $aPref)
- 4.2.7.51 function InstallExcel07($aCrossProfile, $aPref)
- 4.2.7.52 function InstallCSV($aCrossProfile, $aPref)
- 4.2.7.53 function CrossClearImport()
- 4.2.7.54 function CrossImportAdvance()
- 4.2.7.55 function CrossProfile()
- 4.2.7.56 function InsertCross($aData)
- 4.2.7.57 function InsertCrossStop($aData)
- 4.2.7.58 function DeleteGroupCross()
- 4.2.7.59 function DeleteCross($bRedirect=true)
- 4.2.7.60 function DeleteGroupCrossStop()
- 4.2.7.61 function DeleteCrossStop($bRedirect=true)
- 4.2.7.62 function ImportCross()
- 4.2.7.63 function SearchAdvance()
- 4.2.7.64 function PrintPartName($aRow)
- 4.2.7.65 function ChangeSelect()
- 4.2.7.66 function LoadAutotechnics()
- 4.2.7.67 function CrossStop()
- 4.2.7.68 function ViewBrand()
- 4.2.7.69 function ViewBrandShow()
- 4.2.7.70 function CorrectBrandLink(&$aBrand)
- 4.2.7.71 function ChangePartParam()
- 4.2.7.72 function CallParseCross(&$aItem)
- 4.2.7.73 function ViewOwnAuto()
- 4.2.7.74 function MotoBrands()
- 4.2.7.75 function MotoModels()
- 4.2.7.76 function MotoDetails()
- 4.2.7.77 function MotoAssemblage()
- 4.2.7.78 function mb_ucfirst($str, $enc = 'utf-8')
- 4.2.7.79 function outTree(&$category_arr=array(), $parent_id, $level)
- 4.2.7.80 function SetSelectedPart(&$aTree=array(), $iPart)
- 4.2.7.81 function GetArtId($sItemCode)
- 4.2.7.82 function SortTable()
- 4.2.7.83 function TruckIndex()
- 4.2.7.84 function TruckModels()
- 4.2.7.85 function TruckDetails()
- 4.2.7.86 function TruckAssemblage()
- 4.2.7.87 function ParseTruckPartsImages(&$aItem)
- 4.2.8 CommentTree.php
- 4.2.8.1 function __construct()
- 4.2.8.2 function GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
- 4.2.8.3 function Post()
- 4.2.8.4 function convertArrayToTree($aSourceArray, $sParentId='0', $sKeyChildren='child', $aKeyId='id', $sKeyParentId='parent_id')
- 4.2.8.5 function doConvertArrayToTree($aSourceArray, &$aThisTree, $sParentId, $sThisId, $sKeyChildren, $aKeyId, $sKeyParentId)
- 4.2.9 ContactForm.php
- 4.2.10 Customer.php
- 4.2.11 Dashboard.php
- 4.2.12 Delivery.php
- 4.2.13 ElitRoma.php
- 4.2.13.1 $sPathToFile
- 4.2.13.2 function Index()
- 4.2.13.3 function Export($bPrice=false)
- 4.2.13.4 function CronSecond()
- 4.2.13.5 function CronLoad()
- 4.2.13.6 function GetPrice()
- 4.2.13.7 function Load()
- 4.2.13.8 function LoadFromExcel($sFilePath,$sTable='')
- 4.2.13.9 function Insert(&$aInsert=array(),$sTable='')
- 4.2.13.10 function LoadPrice($aItem,$sTable='')
- 4.2.13.11 function GetSessionID()
- 4.2.14 Error.php
- 4.2.15 Finance.php
- 4.2.15.1 $aHaveMoney
- 4.2.15.2 $aUserAccountLogTypeAssoc
- 4.2.15.3 function __construct()
- 4.2.15.4 function Index()
- 4.2.15.5 function CallParseLog(&$aItem)
- 4.2.15.6 function ExportAll()
- 4.2.15.7 function CreateFinanceExcel($sSql,$bShowCustomer=false)
- 4.2.15.8 function BillforUser ()
- 4.2.15.9 function Bill()
- 4.2.15.10 function BillPrint($iIdBill='')
- 4.2.15.11 function Deposit($iIdUser,$dAmount,$sDescription='',$iCustomId='',$sPayType='internal',$sSection='internal',$sData='',$iIdUserAccountLogType='')
- 4.2.15.12 function TransactionError($aData, $iIdUser='', $sDescription='')
- 4.2.15.13 function AccountAmount($iIdUser)
- 4.2.15.14 function DebtAmount($iIdUser)
- 4.2.15.15 function HaveMoney($dAmount,$iIdUser='',$bFullPayment=false)
- 4.2.15.16 function PayForAccount()
- 4.2.15.17 function GetGeneralAccountAmount()
- 4.2.15.18 function GetUserAccountLogTypeAssoc()
- 4.2.15.19 function GetSumAmount($sUserType='customer')
- 4.2.15.20 function AssignAccount($aUser)
- 4.2.15.21 function AssignSubtotal($sWhere)
- 4.2.16 GarageManager.php
- 4.2.16.1 $aTypeDrive
- 4.2.16.2 $aTypeFuel
- 4.2.16.3 $aTypeTransmission
- 4.2.16.4 $aTypeBody
- 4.2.16.5 $aTypeWheel
- 4.2.16.6 $aVinMonth
- 4.2.16.7 function __construct()
- 4.2.16.8 function Index()
- 4.2.16.9 function Profile()
- 4.2.16.10 function CallParseUserAuto(&$aItem)
- 4.2.16.11 function AddComment()
- 4.2.16.12 function Edit()
- 4.2.16.13 function Delete()
- 4.2.16.14 function GetInfoAuto($aData)
- 4.2.16.15 function GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1)
- 4.2.16.16 function Get_aTypeFuel()
- 4.2.16.17 function Get_aTypeDrive()
- 4.2.17 Home.php
- 4.2.18 ManagerCart.php
- 4.2.19 ManagerInvoiceCustomer.php
- 4.2.19.1 $aCartScan
- 4.2.19.2 LOG_PRICE_PLACE
- 4.2.19.3 LOG_ADDITIONAL_PAYMENT
- 4.2.19.4 CUSTOMER_TYPE_UKRAINE
- 4.2.19.5 CUSTOMER_TYPE_NOT_UKRAINE
- 4.2.19.6 CUSTOMER_TYPE_NOT_SET
- 4.2.19.7 $sPrefix
- 4.2.19.8 function __construct()
- 4.2.19.9 function Index()
- 4.2.19.10 function CallParseCustomer(&$aItem)
- 4.2.19.11 function Create($bPrint=false)
- 4.2.19.12 function CallParseCreate(&$aItem)
- 4.2.19.13 function ChangeRating()
- 4.2.19.14 function Invoice()
- 4.2.19.15 function PrintInvoice($iIdUser='',$bReturnContent=false)
- 4.2.19.16 function GetFactureRight(&$aUserInvoice,&$aAdditionalItem,$aDeliveryCost=array(),$dTarifTax=0,$sCurrency='USD')
- 4.2.19.17 function Recalculate($iIdInvoiceCustomer)
- 4.2.19.18 function CreateOfficeTravelSheet()
- 4.2.19.19 function IsTravelSheetAdd()
- 4.2.19.20 function IsTravelSheetClear()
- 4.2.19.21 function IsTravelSheetBrowse()
- 4.2.19.22 function CreateInvoiceTravelSheet()
- 4.2.19.23 function GetInvoiceExcel()
- 4.2.19.24 function GetInvoiceExcelFitlered()
- 4.2.19.25 function GetInvoiceExcelAll()
- 4.2.19.26 function Send($iInvoiceCustomer)
- 4.2.19.27 function End($iInvoiceCustomer)
- 4.2.19.28 function GetInvoiceFactureExcel()
- 4.2.19.29 function GetInvoiceFactureExcelFitlered()
- 4.2.19.30 function GetInvoiceFactureExcelAll()
- 4.2.19.31 function SendInvoiceFactureExcel($aInvoiceId)
- 4.2.19.32 function GetInvoiceListExcel()
- 4.2.19.33 function ChangeCustomerType()
- 4.2.19.34 function DeliveryCalculator()
- 4.2.19.35 function Delivery()
- 4.2.19.36 function CallParseDelivery(&$aItem)
- 4.2.19.37 function DeliveryEdit()
- 4.2.20 Manager.php
- 4.2.20.1 $sPrefix
- 4.2.20.2 $sPrefixAction
- 4.2.20.3 $sCustomerSql
- 4.2.20.4 $sExportSql
- 4.2.20.5 $sExportMegaSql
- 4.2.20.6 $aCustomerList
- 4.2.20.7 $sCurrentOrderStatus
- 4.2.20.8 function __construct()
- 4.2.20.9 function Index()
- 4.2.20.10 function GetCustomerList()
- 4.2.20.11 function Profile()
- 4.2.20.12 function Customer()
- 4.2.20.13 function CustomerEdit()
- 4.2.20.14 function CustomerRedirect()
- 4.2.20.15 function Order()
- 4.2.20.16 function CallParseOrder(&$aItem)
- 4.2.20.17 function ChangeStatus()
- 4.2.20.18 function AgreeGrowth()
- 4.2.20.19 function Reorder()
- 4.2.20.20 function Bill()
- 4.2.20.21 function ProcessOrderStatus($iId='', $sOrderStatus='', $sComment='', $sIdProviderOrder='', $dProviderPrice='', $sIdProviderInvoice='', $sCustomValue='')
- 4.2.20.22 function ChangeCart($aCart,$sOrderStatus,$sCustomValue)
- 4.2.20.23 function VinRequest()
- 4.2.20.24 function CallParseVinRequest(&$aItem)
- 4.2.20.25 function VinRequestSave($bRedirect=true)
- 4.2.20.26 function VinRequestSend()
- 4.2.20.27 function VinRequestRefuse()
- 4.2.20.28 function VinRequestRelease($iId)
- 4.2.20.29 function VinRequestMobileNotification($aVinRequest)
- 4.2.20.30 function GetVinIdList($bReturnArray=false)
- 4.2.20.31 function VinRequestRemember()
- 4.2.20.32 function PackageAddOrderItem()
- 4.2.20.33 function Package()
- 4.2.20.34 function CallParsePackage(&$aItem)
- 4.2.20.35 function DeletePackageEmpty()
- 4.2.20.36 function ExportAll()
- 4.2.20.37 function OrderReportExport()
- 4.2.20.38 function ExportOrder()
- 4.2.20.39 function ExportOrderAll()
- 4.2.20.40 function Export($sType='row_check')
- 4.2.20.41 function ExportMegaAll()
- 4.2.20.42 function ExportMega($sType='row_check')
- 4.2.20.43 function GetCartMake($aCart)
- 4.2.20.44 function ImportStatus()
- 4.2.20.45 function EditWeight()
- 4.2.20.46 function ImportWeight()
- 4.2.20.47 function AddWeightName($u)
- 4.2.20.48 function AssignCustomers()
- 4.2.20.49 function Finance()
- 4.2.20.50 function CallParseLog(&$aItem)
- 4.2.20.51 function ReturnFullPaymentDiscount($aCart)
- 4.2.20.52 function FinanceExportAll()
- 4.2.20.53 function ParentMarginDebet($aCart)
- 4.2.20.54 function IsChangeableLogin($sLogin)
- 4.2.20.55 function CountMoney()
- 4.2.20.56 function PayCartPackage($iIdCartPackage,$aEntry=array())
- 4.2.20.57 function NotifyDebitedMoney($aEntry=array())
- 4.2.20.58 function PrintOrder()
- 4.2.20.59 function RefusePending()
- 4.2.20.60 function PrintPakage()
- 4.2.20.61 function SetPriceTotalCartPackage($aCart)
- 4.2.20.62 function MergePakage()
- 4.2.20.63 function ChangeProvider ()
- 4.2.20.64 function SetPackagePayed ()
- 4.2.20.65 function Cat ()
- 4.2.20.66 function SynonymBrandClear ($sBrand)
- 4.2.20.67 function Synonym ()
- 4.2.20.68 function CatPref ()
- 4.2.20.69 function SetCheckedAuto ()
- 4.2.20.70 function CustomerRecalcCart ()
- 4.2.20.71 function JoinOrders()
- 4.2.20.72 function GetUserSelect()
- 4.2.20.73 function GetPopularProducts()
- 4.2.21 Manual.php
- 4.2.22 Map.php
- 4.2.23 Message.php
- 4.2.23.1 function __construct()
- 4.2.23.2 function Prepare()
- 4.2.23.3 function MoveToFolder()
- 4.2.23.4 function Reply()
- 4.2.23.5 function Forward()
- 4.2.23.6 function Send()
- 4.2.23.7 function Draft()
- 4.2.23.8 function Compose()
- 4.2.23.9 function Delete()
- 4.2.23.10 function Clear()
- 4.2.23.11 function Preview()
- 4.2.23.12 function ChangeCurrentFolder()
- 4.2.23.13 function Browse()
- 4.2.23.14 function CallParseMessage(&$aItem)
- 4.2.23.15 function MessageNumber($iIdUser,$iIdMessageFolder)
- 4.2.23.16 function CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser='',$sUserFrom='',$aAttachFiles=array())
- 4.2.23.17 function SendMessage($sTo,$sSubject,$sText,$iIdMessage='',$bSendEmail=true, $aAttachFiles=array())
- 4.2.23.18 function DeleteMessage($iId)
- 4.2.23.19 function EraseMessage($iId)
- 4.2.23.20 function MoveMessage($iId,$iIdMessageFolder)
- 4.2.23.21 function getUserList($aLogin)
- 4.2.23.22 function ReadMessage($iId)
- 4.2.23.23 function CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId='',$iPriority=3)
- 4.2.23.24 function CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
- 4.2.23.25 function SendBulkUserNotification($sAdditionalWhere='')
- 4.2.23.26 function PreviewUserNotification()
- 4.2.23.27 function AddNote($iIdUser,$sName,$sDescription,$sUrl='',$sReplyTo='')
- 4.2.23.28 function CheckNote()
- 4.2.23.29 function NoteClose()
- 4.2.23.30 function CreateCustomerIdExcel($aUserNotification)
- 4.2.23.31 function ChangeStarred()
- 4.2.23.32 function ChangeStarredMessage()
- 4.2.23.33 function GetAttachFiles()
- 4.2.24 News.php
- 4.2.25 OwnAuto.php
- 4.2.25.1 $sPrefix
- 4.2.25.2 $aTypeDrive
- 4.2.25.3 $aTypeFuel
- 4.2.25.4 $aTypeTransmission
- 4.2.25.5 $aTypeBody
- 4.2.25.6 $aTypeWheel
- 4.2.25.7 $aVinMonth
- 4.2.25.8 function __construct()
- 4.2.25.9 function Index()
- 4.2.25.10 function CallParseUserAuto(&$aItem)
- 4.2.25.11 function CallParseLogUserAuto(&$aItem)
- 4.2.25.12 function GetJson()
- 4.2.25.13 function Del()
- 4.2.25.14 function GetInfoAuto($aData)
- 4.2.25.15 function Get_aTypeFuel()
- 4.2.25.16 function Get_aTypeDrive()
- 4.2.25.17 function GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1, $aData)
- 4.2.25.18 function AddJson()
- 4.2.25.19 function GetAutoInfoTip($iOrderId)
- 4.2.25.20 function GetListOwnAuto()
- 4.2.25.21 function GetInfoById($iId = 0)
- 4.2.25.22 function SearchLog()
- 4.2.25.23 function AddSearchAuto()
- 4.2.25.24 function DelFromAutoLog()
- 4.2.26 PaymentDeclarationManager.php
- 4.2.27 PaymentDeclaration.php
- 4.2.28 Payment.php
- 4.2.29 PaymentReportManager.php
- 4.2.30 PaymentReport.php
- 4.2.31 PriceFtp.php
- 4.2.32 PriceGroup.php
- 4.2.32.1 $sPrefix
- 4.2.32.2 function __construct()
- 4.2.32.3 function Index()
- 4.2.32.4 function GetGroupNavi($iParent,&$aNavigator=array())
- 4.2.32.5 function cmp($a, $b)
- 4.2.32.6 function CallParse(&$aItem)
- 4.2.32.7 function GetTabs()
- 4.2.32.8 function GetMainGroups()
- 4.2.32.9 function Filter()
- 4.2.32.10 function SortTablePriceGroup()
- 4.2.33 Price.php
- 4.2.33.1 $sPrefix
- 4.2.33.2 $oCatalog
- 4.2.33.3 $rs
- 4.2.33.4 $exchange_facrot
- 4.2.33.5 $aPref
- 4.2.33.6 $aParserPatern
- 4.2.33.7 $aParserBefore
- 4.2.33.8 $aParserAfter
- 4.2.33.9 $aTrimLeft
- 4.2.33.10 $aTrimRight
- 4.2.33.11 $aPrefName
- 4.2.33.12 $aPriceGrp
- 4.2.33.13 $aValidateExtensions
- 4.2.33.14 function __construct()
- 4.2.33.15 function Index()
- 4.2.33.16 function LoadFromFile()
- 4.2.33.17 function InitLoader($aPrice_profile)
- 4.2.33.18 function LoadFromExcel($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.19 function LoadFromCsv($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.20 function LoadFromText($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.21 function LoadFromDbf($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.22 function LoadPrice($data,$aPrice_profile,$aProvider,$iUser,$iPriceQueue)
- 4.2.33.23 function Install($bRedirect=true)
- 4.2.33.24 function ConformityApply()
- 4.2.33.25 function AutoAssocCat()
- 4.2.33.26 function Conformity()
- 4.2.33.27 function ClearImport($sMessage='', $bRedirect=true, $sType = 'all', $iIdProvider=0)
- 4.2.33.28 function ClearProvider($bRedirect=true, $iPriceQueueId = 0)
- 4.2.33.29 function ClearPref()
- 4.2.33.30 function AddItem($aCart,$dPrice)
- 4.2.33.31 function Export()
- 4.2.33.32 function ExportFile()
- 4.2.33.33 function AddRequest()
- 4.2.33.34 function AddCat()
- 4.2.33.35 function ConvertToInteger($sNumber)
- 4.2.33.36 function RefreshQueue()
- 4.2.33.37 function getStoppedQueueFlag($id)
- 4.2.33.38 function SaveToLog($aResult, $iAllStringsCurrentList, $iAllStringsTotal, $iAllStrings, &$iCountError, $iList, $iPriceQueue, $aData, $aPrice_profile)
- 4.2.33.39 function CheckStoppedLoadPrice($iPriceQueue)
- 4.2.33.40 function LoadFromXlsxAll($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
- 4.2.33.41 function LoadFromXlsxPartial($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
- 4.2.33.42 function GetArrayUnknownPref()
- 4.2.33.43 function SaveFilesToQueue($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
- 4.2.33.44 function SaveFilesToQueueExtended($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
- 4.2.33.45 function SaveFilesToQueueExtendedInsert($aProfileInfo,$aData,$aValue,$sErrorProfile,$sPathToFile)
- 4.2.33.46 function ClearOldQueueFiles()
- 4.2.33.47 function ClearOldQueueImportRecords()
- 4.2.33.48 function RemovePref()
- 4.2.33.49 function AddAutoPref()
- 4.2.33.50 function GetAssociate()
- 4.2.33.51 function FindAssociate($aData)
- 4.2.33.52 function BuildAssociateData()
- 4.2.33.53 function GetPriceMarginId($aData)
- 4.2.33.54 function dbg_last_error($iPriceQueue = 0)
- 4.2.34 PriceProfile.php
- 4.2.34.1 $sPrefix
- 4.2.34.2 function __construct()
- 4.2.34.3 function Index()
- 4.2.34.4 function ReloadViewPrice()
- 4.2.34.5 function ProviderAddFromFile()
- 4.2.34.6 function PopUpProviderAdd()
- 4.2.34.7 function CreateProvider()
- 4.2.34.8 function GetDataFromFile($aData)
- 4.2.34.9 function LoadFromCsvLimit($aFile,$iLimit=10)
- 4.2.34.10 function LoadFromExcelLimit($aFile,$iLimit=10)
- 4.2.34.11 function CreateProfileFromFile()
- 4.2.34.12 function ProviderEdit()
- 4.2.34.13 function ProviderMakroInfo($aData)
- 4.2.35 PriceQueue.php
- 4.2.35.1 $sPrefix
- 4.2.35.2 $sPrefixAction
- 4.2.35.3 $sPathToFile
- 4.2.35.4 function PriceQueue()
- 4.2.35.5 function Index()
- 4.2.35.6 function GetMailAttachment()
- 4.2.35.7 function LoadQueuePrice()
- 4.2.35.8 function GetFtpFile()
- 4.2.35.9 function GetQueueInfoTable()
- 4.2.35.10 function CallParseQueue(&$aItem)
- 4.2.35.11 function AsuncLoadQueuePrice($iRedirect = 1)
- 4.2.35.12 function SendRequest($url, $params)
- 4.2.35.13 function LoadMessageLog()
- 4.2.35.14 function BuildMessage($iId = 0,$bIsMailMessage = false)
- 4.2.35.15 function GetProfile($sType = 'mail', $sFileName = '', $sSubject = '', $sFrom = '')
- 4.2.36 PriceSearchLog.php
- 4.2.37 PublicProvider.php
- 4.2.38 Rating.php
- 4.2.39 RequestForm.php
- 4.2.40 Rubricator.php
- 4.2.40.1 function __construct()
- 4.2.40.2 function GetModels()
- 4.2.40.3 function GetModelDetails()
- 4.2.40.4 function SetMake()
- 4.2.40.5 function SetModel()
- 4.2.40.6 function SetModelDetail()
- 4.2.40.7 function SetAll()
- 4.2.40.8 function GetRubricatorUrl()
- 4.2.40.9 function GetRubricatorUrlForFilter()
- 4.2.40.10 function GetPart($sUrlGroup='',$iIdPriceGroup=0)
- 4.2.40.11 function CallParsePartRubricator(&$aItem)
- 4.2.40.12 function Index()
- 4.2.40.13 function Category()
- 4.2.40.14 function SubCategory()
- 4.2.40.15 function GetMainMenu()
- 4.2.40.16 function GetMain()
- 4.2.40.17 function SetBrandPriceOrderUrl($sUrlParamsInclude)
- 4.2.40.18 function GetBrandsForFilter($sType,$source,$iIdPriceGroup,$aItemCodesUnique)
- 4.2.40.19 function cmp($a, $b)
- 4.2.40.20 function GetRubricForModelGroup($aModelGroup,$sCat)
- 4.2.40.21 function CheckSelectedAuto()
- 4.2.40.22 function CheckSelectedAutoName()
- 4.2.40.23 function ClearAutoUrl()
- 4.2.41 Search.php
- 4.2.41.1 $sPrefix
- 4.2.41.2 $sQuery
- 4.2.41.3 function __construct()
- 4.2.41.4 function Index($bShowSearchForm=true)
- 4.2.41.5 function AllPriceGrouped()
- 4.2.41.6 function AllPriceGroup()
- 4.2.41.7 function SinglePriceGroup()
- 4.2.41.8 function SetDefaultSetting(&$oSphinxClient,$iLimit=1000)
- 4.2.41.9 function GetSphinxKeyword($sQuery)
- 4.2.41.10 function StripQuery($sQuery)
- 4.2.41.11 function AllSearch()
- 4.2.42 Sound.php
- 4.2.42.1 $aSound
- 4.2.42.2 $iAudio
- 4.2.42.3 function GetSound($sKey, $sDefault = "")
- 4.2.42.4 function InsertIntoPage($sCode,$sDefault="")
- 4.2.42.5 function InsertIntoPageCustomerByLogin($sLogin)
- 4.2.42.6 function InsertIntoPageCustomerById($sId)
- 4.2.42.7 function UploadCustomerSound()
- 4.2.42.8 function GetHtmlCode($sFilename)
- 4.2.42.9 function GetHtmlCodeCustomer($aData)
- 4.2.42.10 function GetCustomerFileNamePath($sLogin,$bIsUrl=false)
- 4.2.43 Store.php
- 4.2.43.1 $sPreffix
- 4.2.43.2 $bTransferFlag
- 4.2.43.3 function __construct()
- 4.2.43.4 function Index()
- 4.2.43.5 function AddToSale()
- 4.2.43.6 function AddToTransfer()
- 4.2.43.7 function InputInvoiceScanner()
- 4.2.43.8 function InputInvoiceManual()
- 4.2.43.9 function InputInvoiceProcess()
- 4.2.43.10 function Sale()
- 4.2.43.11 function SaleInvoice()
- 4.2.43.12 function SaleInvoiceProcess()
- 4.2.43.13 function ReturnStore()
- 4.2.43.14 function Log()
- 4.2.43.15 function LogHistory()
- 4.2.43.16 function GetMd5($aValue)
- 4.2.43.17 function UpdateNumber()
- 4.2.43.18 function Transfer()
- 4.2.43.19 function TransferProcess()
- 4.2.43.20 function TransferProcessTry($aProductFromLog=array(), &$aValue=array(), $aData=array(), $iType='2')
- 4.2.43.21 function Balance()
- 4.2.43.22 function ExportToPrice()
- 4.2.43.23 function Products()
- 4.2.44 TecdocDb.php
- 4.2.44.1 function Execute($sSql,$aInput=false)
- 4.2.44.2 function GetAll($sSql)
- 4.2.44.3 function GetAssoc($sSql, $aData=array(), $bReturnSql=false)
- 4.2.44.4 function GetRow($sSql)
- 4.2.44.5 function GetOne($sSql)
- 4.2.44.6 function AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
- 4.2.44.7 function Debug()
- 4.2.44.8 function LogSql($bEnable=true)
- 4.2.44.9 function InsertId()
- 4.2.44.10 function AffectedRow()
- 4.2.44.11 function StartTrans()
- 4.2.44.12 function FailTrans()
- 4.2.44.13 function CompleteTrans()
- 4.2.44.14 function Escape($aData)
- 4.2.44.15 function GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
- 4.2.44.16 function SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
- 4.2.44.17 function GetTableInfo($sType='')
- 4.2.44.18 function SetWhere(&$sWhere, $aData, $sDataField, $sPrefix, $sTableField="")
- 4.2.44.19 function GetDateFormat($sNameField="post_date", $sFormat="")
- 4.2.44.20 function GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
- 4.2.44.21 function GetModels($aData)
- 4.2.44.22 function GetModel($aData)
- 4.2.44.23 function GetModelAssoc($aData)
- 4.2.44.24 function GetModelPicAssoc($aData)
- 4.2.44.25 function GetModelInfo($aData)
- 4.2.44.26 function GetModelDetails($aData,$aCat=false,$aCatTitles=false)
- 4.2.44.27 function GetModelDetailAssoc($aData,$aCat=false)
- 4.2.44.28 function GetApplicability($aData)
- 4.2.44.29 function GetModelDetail($aData,$aCat=false)
- 4.2.44.30 function GetTree($aData)
- 4.2.44.31 function GetTreeAssoc()
- 4.2.44.32 function GetTreeTruck($aData)
- 4.2.44.33 function GetTreeParts($aData, $aCats=false, $bTruck=false)
- 4.2.44.34 function GetTreePartsRubricator($aData, $aCats=false)
- 4.2.44.35 function GetPartCriterias($aData)
- 4.2.44.36 function GetImages($aData, $aCats=false, $bAssoc=TRUE)
- 4.2.44.37 function GetArt($aData)
- 4.2.44.38 function GetArtName($aData)
- 4.2.44.39 function GetArts($aCodes)
- 4.2.44.40 function GetPartInfo($aData,$aCats=false)
- 4.2.44.41 function GetCross($aData,$aCats=false)
- 4.2.44.42 function GetCriterias($aData)
- 4.2.44.43 function GetOriginals($aData,$aCats=false)
- 4.2.44.44 function GetIdMakeByIdModel($iIdModel)
- 4.2.44.45 function AssocArtIdItemCode($aData)
- 4.2.44.46 function GetCriteriasDBTOF($aData,$sLang='en')
- 4.2.44.47 function GetModelDetailsDBTOF($aData,$aCat=false,$sLang='en')
- 4.2.44.48 function GetApplicabilityDBTOF($aData,$sLang='en')
- 4.2.44.49 function GetModificationAssoc($aData)
- 4.2.44.50 function GetSelectCar($aData)
- 4.2.44.51 function GetYears($sModel)
- 4.2.45 Test.php
- 4.2.45.1 function Index()
- 4.2.45.2 function SetElitParams()
- 4.2.45.3 function SetElitImage()
- 4.2.45.4 function GetElitImages()
- 4.2.45.5 function ProcessExcel($iTimer)
- 4.2.45.6 function GetPriceTableByCode()
- 4.2.45.7 function GetSessionID()
- 4.2.45.8 function GetCodePrice($sSID,$sCode,$sBrand='')
- 4.2.45.9 function GetCodesByCode($sSID,$sCode)
- 4.2.45.10 function GetPriceByCode($aCodes)
- 4.2.46 User.php
- 4.2.46.1 $aErrorTr
- 4.2.46.2 function __construct()
- 4.2.46.3 function Login()
- 4.2.46.4 function DoLogin()
- 4.2.46.5 function UloginLogin()
- 4.2.46.6 function Logout()
- 4.2.46.7 function NewAccount()
- 4.2.46.8 function NewAccountError()
- 4.2.46.9 function DoNewAccount($bAutoCreate=false)
- 4.2.46.10 function ConfirmRegistration()
- 4.2.46.11 function RestorePassword()
- 4.2.46.12 function NotifyConfirmedProfileFill($iIdUser)
- 4.2.46.13 function ChangePassword()
- 4.2.46.14 function ChangeLogin()
- 4.2.46.15 function NewPassword()
- 4.2.46.16 function CheckLogin()
- 4.2.46.17 function ChangeLevelPrice()
- 4.2.46.18 function RecalcCart($iIdUser,$iIdUserNotManager = 0)
- 4.2.47 VinRequest.php
- 4.2.47.1 function __construct()
- 4.2.47.2 function Index()
- 4.2.47.3 function Preview()
- 4.2.47.4 function Manager()
- 4.2.47.5 function ManagerSave($bRedirect=true)
- 4.2.47.6 function ManagerSend()
- 4.2.47.7 function ManagerRefuse()
- 4.2.47.8 function ManagerRelease($iId)
- 4.2.47.9 function ManagerMobileNotification($aVinRequest)
- 4.2.47.10 function GetVinIdList($bReturnArray=false)
- 4.2.47.11 function ManagerRemember()
- 4.2.47.12 function ManagerDelivery()
- 4.2.47.13 function ManagerSendPreview()
- 4.2.47.14 function PackageCreate()
- 4.2.47.15 function Get_aTypeBody()
- 4.2.47.16 function Get_aTypeKpp()
- 4.2.47.17 function Get_aTypeWheel()
- 4.2.47.18 function Get_Months()
- 4.2.47.19 function GetMarka()
- 4.2.47.20 function ChangeSelect()
- 4.2.47.21 function ChangeSelectOwnAuto()
- 4.3 Каталог system
- 4.3.1 BinotelApi.php
- 4.3.1.1 $key
- 4.3.1.2 $secret
- 4.3.1.3 $apiHost
- 4.3.1.4 $apiVersion
- 4.3.1.5 $apiFormat
- 4.3.1.6 $disableSSLChecks
- 4.3.1.7 $debug
- 4.3.1.8 function __construct($key, $secret, $apiHost = null, $apiVersion = null, $apiFormat = null)
- 4.3.1.9 function sendRequest($url, array $params)
- 4.3.1.10 function handleBinotelCallback()
- 4.3.1.11 function disableSSLChecks()
- 4.3.1.12 function getSingnatureByRequest(array $params)
- 4.3.2 Content.php
- 4.3.3 Cron.php
- 4.3.4 Currency.php
- 4.3.5 Discount.php
- 4.3.6 Exchange.php
- 4.3.7 Language.php
- 4.3.8 Webservice.php
- 4.3.1 BinotelApi.php
- 4.1 Каталог core
- 5 Каталог cron
- 6 Каталог css
- 7 Каталог image
- 8 Каталог imgbank
- 9 Каталог include
- 10 Каталог js
- 11 Каталог lib
- 12 Каталог libp
- 13 Каталог mpanel
- 14 Каталог single
- 15 Каталог spec
- 16 Каталог template
- 17 Каталог verstka
Структура каталогов
cache | Файловый кеш |
class | Основные классы обработчики |
cron | Скрипты создания backup |
css | Файлы css дизайна |
image | Картинки дизайна |
imgbank | Файлы выгрузок/загрузок |
include | Файлы SQL запросов |
js | Файлы js дизайна |
lib | Библиотеки php, общие для всех проектов |
libp | Библиотеки js, общие для всех проектов |
mpanel | Админ панель MPanel |
single | Дополнительные библиотеки подключаемые только в текущем проекте |
spec | Связь ссылок на сайте с обработчиками (Роутинг) |
template | Шаблоны внешнего вида(подключенный дизайн) |
verstka | Исходные файлы верстки |
Файлы главной директории
.htaccess | Настройки WEB сервера и дополнительные параметры перенаправления для ЧПУ страниц |
action_includer.php | Механизм связи ссылок на сайте(spec) и обработчиков(class) |
connect.php | Настройки подключения к базе данных, TecDoc, настройки языка и cookies |
connect_sample.php | Пример файла подключения |
favicon.ico | Иконка сайта для браузера |
index.php | Главный исполнительный файл. |
init.php | Инициализация библиотек и ядра. |
xajax_request_parser.php | Обработчик xajax |
Каталог cache
Файловый кеш, может использоваться для кеширования главного меню, некоторых данных TecDoc и других данных с низкой частотой обновления, но долгим по времени выполнения запросом. Файлы разбиваются по директориям. Названия файлов и директорий указывается программистом в исходном коде. Файлы содержат сериализованные данные.
Пример использования:
$sCacheName='название_файла_кеша'; $sCacheDir='название_директории_кеша' if(!($aBrands=FileCache::GetValue($sCacheDir, $sCacheName))) { $aBrands=Db::GetAll($sSql); FileCache::SetValue($sCacheDir, $sCacheName, $aBrands); }
В данном примере мы получаем массив $aBrands из файлового кеша, а в случае отсутствия необходимого кеша - выполняется запрос получения $aBrands из базы данных и сохранение данных в кеш.
Каталог class
Каталог core
Каталог locale_map
Каталог mpanel
Каталог sql
Admin.php
$sTableName
$sAdditionalLink
$sTablePrefix
$sTableId
$aChildTable
$sAction
$sWinHead
$sPath
$sSubMenu
$aCheckField
$sBeforeAddMethod
$aFCKEditors
$sSqlPath
$sScriptForAdd
$bAlreadySetMessage
$sNumSql
$aSearch
$sSearchSQL
$sAddonPath
$aAdmin
function hasAccessTo($sAction)
function Admin()
function AdminRedirect($sAction='', $aMessage=array())
function PreIndex()
function AfterIndex()
function SetDefaultTable($oTable, $aWhereData = array())
function ProcessTemplateForm($sPath)
function Add($bEdit = false)
function Edit()
function Apply()
function Search()
function SearchForm()
function BeforeApply()
function AfterApply($aBeforeRow,$aAfterRow)
function BeforeAddAssign(&$aData)
function CheckField()
function Delete()
function Trash()
function Archive()
function UnArchive()
function ActionToClass($sBaseAction)
function Message($sType = '', $sMessage = '',$sOldObject='')
function GetFilter()
function ProcessFCKEditors()
function initLocaleGlobal()
function GetFCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
function GetCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
function DisplayChange()
function OrderChange()
function IsMpanelUser($sLogin,$sPassword)
function SearchStrongChange()
Auth.php
$iRememberDays
Количество дней хранения cookies. По умолчанию имеет значение 90 дней.
$aUser
$sWhere
$bIgnoreCookie
function Login($sLogin, $sPassword, $bIgnoreVisible=false, $bIgnoreEmailConfirmation=true, $bSalt=false, $bCheckPassword=true, $sOtherFieldAsLogin='')
function Logout()
function NeedAuth($sType='')
Проверка типа авторизованного пользователя. Если тип совпадает с параметром $sType, то функция возвращает true, если нет - вызывает LoginErrorRedirect(), где формируется сообщение об ошибке.
function LoginErrorRedirect($bSaveReturn=true)
function IsAuth()
Проверяет авторизован ли пользователь. Если да, возвращает true, если нет - false.
function GetUserProfile($iId,$sType='customer')
Получение информации о пользователе с указанным id в параметре $iId.
function IsUser($sLogin,$sPassword,$bIgnoreVisible=false,$bSalt=false,$sOtherFieldAsLogin='')
Проверка существования пользователя с указанным логином и паролем.
Параметры:
- $sLogin - логин;
- $sPassword - пароль;
- $bIgnoreVisible - указывает учитывать или нет видимость пользователя. По умолчанию false, что означает учитывать видимость;
- $bSalt - ...
- $sOtherFieldAsLogin - ...
function IsValidCookie($sCookie)
Проверка валидности cookie.
function RefreshSession($aUser)
Обновить сессию пользователя, указанного в параметре $aUser.
function RefreshCookie($sLogin,$sPassword,$iIdCustomer)
Обновить cookie пользователя с указанными логином, паролем и id.
function FilterLetters($input)
function GetIp()
function AutoCreateUser()
Автоматическое создание пользователя с рандомным логином и паролем. Необходимо для не зарегистрированных пользователей в разделах сайта по продаже, где нужна регистрация. Возвращает массив стандартного аккаунта пользователя.
function CheckLogin($sLogin)
Проверка существования пользователя с логином $sLogin. Если логин занят, возвращает false, логин свободный - true.
function GenerateLogin()
Сгенерировать случайный логин.
function GeneratePassword()
Сгенерировать случайный пароль.
function UpdateLastVisit($aUser)
Обновить в базе время последнего посещения на текущее для пользователя $aUser.
function UpdateCustomerReal($iUser)
Подтверждение пользователя с id указанным в параметре $iUser.
function CheckPermissions($iIdAction)
Проверка прав доступа к action, id которого $iIdAction.
Base.php
$db
$oOracleDb
$oTecdocDb
$tpl
$language
$LC
$aGeneralConf
$aDbConf
$oResponse
$oCurrency
$oContent
$aConst
$aConstant
$aRequest
$sText
$aData
$sProjectName
$aMenuSection
$bRightSectionVisible
$sBaseTemplate
$bXajaxPresent
$aMessageJavascript
$sOuterJavascript
$sServerQueryString
$aTopPageTemplate
$sZirHtml
function PreInit()
function Init()
function ProcessAjax()
function Process()
function EscapeAll(&$aData)
function UnescapeAll(&$aData)
function FixParseStrBug(&$aArray)
function Redirect($sUrl,$is_check_lower=1)
function LocalLog($sText)
function GetSql($sScript, $aData = array())
function UpdateConstant($sKey, $sValue)
function GetConstant($sKey,$sDefaultValue=)
function Message($aMessage=array(),$bGetText=true)
function RemoveMessageFromUrl($sUrl)
function SendSiteInfo()
function MstarprojectBase()
BaseTemp.php
function EnumToArray($sTable, $sField)
Cache.php
function Cache()
function GetValue($sSection,$sKey)
function SetValue($sSection,$sKey,$sValue,$iValidTill=false)
Capcha.php
$aMathematicOperator
function __construct()
function GetMathematic($sTemplate='addon/capcha/mathematic.tpl')
function CheckMathematic()
function GetRandomOperator()
function GetRandomOperand()
function GetValidationHash($sMathematicFormula)
function ClearOldHash()
function AddHash($sType='mathematic',$sHash)
function IsFreeFromCapcha()
function SaveLastCapcha()
function GetGraphics()
function CheckGraph()
Category.php
$iMaxSubCategorie
function __construct()
function Index()
function SetAddingColumn()
function initLocaleGlobal()
function BeforeAdd()
function Move ()
function Apply()
function Delete()
Comment.php
function __construct()
function GetCommentList($sSection,$sId,$bXajaxResponse=false,$bHideUnapproved=false)
function GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
function GetCommentLink($sSection,$sId,$sLink,$bHideUnapproved=false)
function Post()
function PopupPost()
function GetCommentHash($sSection,$aId)
ContactForm.php
function __construct()
function OutputForm($sName)
function ProcessForm($sName)
DateFormat.php
function GetBaseDate($sFormat,$iTimestamp=,$iTimeZone=)
function GetDate($iTimestamp=,$iTimeZone=)
function GetTime($iTimestamp=,$iTimeZone=)
function GetDateTime($iTimestamp=,$iTimeZone=)
function FormatSearch($sSearchDate, $sFormat='Y-m-d H:i:s')
function FormatSearchNow()
function FormatSearchTomorrow()
function GetFileDateTime($iTimestamp=,$iTimeZone=,$bShowSecond=true)
function GetPostDate($sPostDate,$iTimeZone=)
function GetPostDateTime($sPostDate,$iTimeZone=)
function GetSqlDate($sNameField="post_date")
function GetSqlStrToDate($sPostDate)
function GetNextMonth($sPostDate)
function Seconds2Times($seconds)
function NameIntervalDate($aDiffDate)
Db.php
function Execute($sSql,$aInput=false)
function GetAll($sSql)
function GetAssoc($sSql, $aData=array(), $bReturnSql=false)
function GetRow($sSql)
function GetOne($sSql)
function AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
function Debug()
function LogSql($bEnable=true)
function InsertId()
function AffectedRow()
function StartTrans()
function FailTrans()
function CompleteTrans()
function Escape($aData)
function GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
function SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
function GetTableInfo($sType=)
function SetWhere(&$sWhere,$aData,$sDataField,$sPrefix,$sTableField="")
function GetDateFormat($sNameField="post_date", $sFormat="")
function GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
Dbtree.php
$ERRORS
$ERRORS_MES
$table
$table_id
$table_left
$table_right
$table_level
$res
function Dbtree($table="", $prefix="")
function Clear($data = array())
function GetNodeInfo($section_id, $cache = FALSE)
function GetParentInfo($section_id, $condition = , $cache = FALSE)
function Insert($section_id, $condition = , $data = array())
function InsertNear($ID, $condition = , $data = array())
function MoveAll($ID, $newParentId, $condition = )
function ChangePosition($id1, $id2)
function ChangePositionAll($id1, $id2, $position = 'after', $condition = )
function Delete($ID, $condition = )
function DeleteAll($ID, $condition = )
function Full($fields, $condition = , $cache = FALSE)
function Branch($ID, $fields, $condition = , $cache = FALSE)
function Parents($ID, $fields, $condition = , $cache = FALSE)
function Ajar($ID, $fields, $condition = , $cache = FALSE, $sOpenLevel='1')
function AjarBranch($ID, $fields, $condition = , $cache = FALSE, $sOpenLevel='1')
function RecordCount()
function NextRow()
function _PrepareCondition($condition, $where = FALSE, $prefix = )
function GetAllData()
function GetAssocData()
function FullTree($with_space=false)
function FullFoSelect($with_space=false)
function MoveItem($id,$to=-1)
function AddSpaceItem($a,$iSpace=6 )
function GetData($sType, $id=1, $fields = , $condition = , $cache = false, $iSpace=0, $bAssoc=false, $sOpenLevel='1')
Debug.php
function PrintPre($sVariable,$bDie=true,$bReturn=false)
function PrintPreTpl($sVariable,$bDie=true)
function GetMicrotime()
function WriteToLog($sFile,$data)
DirectorySite.php
function __construct()
function Prepare()
function CategoryChange()
function ListCategory()
function Index()
function Preview()
ExcelOld.php
class ExcelOld
$oExcel
$aStyle
$aStyleBold
$aStyleRight
$aStyleLeft
$aStyleBorderThickLeft
$aStyleBorderThickRight
$aStyleFormatText
$oWriter
$oDrawing
function Excel()
function SetActiveSheetIndex($i=0)
function GetActiveSheet()
function SetShowSummaryBelow($sState=true)
function SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
function SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
function SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
function SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
function SetAutoSize($aHeader)
function DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
function SetTitle($sTitle="")
function WriterExcel5($sFileNameFull,$bOutput=false)
function WriterExcel7($sFileNameFull)
function SetDefaultFont($sName, $iSize=0)
function ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
function ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
function SetPrintBreak($sCordinate)
function SetRowToRepeat($iRowStart,$iRowEnd)
function MergeCell($sRange)
function WriterPdf($sFileNameFull,$bOutput=false)
function WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
function WriterHtml($sFileNameFull)
function GetRowHeight($iRow)
function SetRowHeight($iRow,$dSize)
function SetColWidth($sCol,$dSize)
function GetReadData()
function GetSpreadsheetData()
function GetMergeCell()
function CreateSheet()
function RemoveSheet($iSheet)
function SetProtectionFile($sPassword="12345")
function SetDrawing($sCordinate,$sFullPath,$iHeight=0)
function freezePane($sCell)
function RemoveRow($iRow)
function CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
function SetWrapText($sRange)
function GetNextColumn($sColumn="")
function SetCreateReader()
function CreateObjectExcel2007()
class chunkReadFilter
$_startRow
$_endRow
function __construct()
function readCell($column, $row, $worksheetName = )
function setRows($startRow, $chunkSize)
Excel.php
class Excel
$oExcel
$aStyle
$aStyleBold
$aStyleRight
$aStyleLeft
$aStyleBorderThickLeft
$aStyleBorderThickRight
$aStyleFormatText
$oWriter
$oDrawing
function __destruct()
function Excel()
function SetActiveSheetIndex($i=0)
function GetActiveSheet()
function SetShowSummaryBelow($sState=true)
function SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
function SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
function SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
function SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
function SetAutoSize($aHeader)
function DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
function SetTitle($sTitle="")
function WriterExcel5($sFileNameFull,$bOutput=false)
function WriterExcel7($sFileNameFull,$bOutput=false)
function SetDefaultFont($sName, $iSize=0)
function ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
function ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
function SetPrintBreak($sCordinate)
function SetRowToRepeat($iRowStart,$iRowEnd)
function MergeCell($sRange)
function WriterPdf($sFileNameFull,$bOutput=false)
function WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
function WriterHtml($sFileNameFull)
function GetRowHeight($iRow)
function SetRowHeight($iRow,$dSize)
function SetColWidth($sCol,$dSize)
function GetReadData()
function GetSpreadsheetData()
function GetMergeCell()
function CreateSheet()
function RemoveSheet($iSheet)
function SetProtectionFile($sPassword="12345")
function SetDrawing($sCordinate,$sFullPath,$iHeight=0)
function freezePane($sCell)
function RemoveRow($iRow)
function CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
function SetWrapText($sRange)
function GetNextColumn($sColumn="")
function SetCreateReader()
function CreateObjectExcel2007()
class chunkReadFilter
$_startRow
$_endRow
function __construct()
function readCell($column, $row, $worksheetName = )
function setRows($startRow, $chunkSize)
FileCache.php
function Cache()
function GetValue($sSection,$sKey,$bAddIndexDB=false)
function SetValue($sSection,$sKey,$sValue,$bAddIndexDb=false)
File.php
function GetFromDir($sPathToDir, $bComparative=true)
function RemoveToDir($aFile, $sPathToDir, $bComparative=true, $bAddTime=true, $bDeleteBefore=true)
function Write($aFile,$sContent,$sMode="w")
function Extract($sPathToFile, $sPathToExtract)
function ExtractForPrice($sPathToFile, $sPathToExtract)
function ExtractFirstFile($sPathToFile, $sPathToExtract)
function CheckFileUpload($aFile)
Form.php
$sHeader
$sAdditionalTitle
$sTitle
$sContent
$sClass
$sSubmitButton
$sSubmitAction
$sReturnButton
$sReturnAction
$sError
$sErrorNT
$sHidden
$sConfirmText
$bIsPost
$sWidth
$bShowBottomForm
$bConfirmSubmit
$sButtonsPadding
$bAutoReturn
$sAdditionalButton
$sAdditionalButtonTemplate
$sReturn
$sRightTemplate
$bSetDefault
$sTemplatePath
$sBeforeContent
$sAfterContent
$sTitleDivHeader
$sReturnButtonClass
$sSubmitButtonClass
$bReturnAfterSubmit
$sButtonSpanClass
$sButtonDivClass
$aField
$bType
function __construct($aData=array())
function GetForm($sContent=)
function ShowError($sError)
function BeforeReturn($sAction,$sEditAction=)
function AfterReturn($sAction,$sMessage=)
function RedirectAuto($sMessage="")
function Error404($bRedirectMissing=false)
HtmlDom.php
function __construct()
function AddCreateOption($sSelectId, $sOptionText, $sOptionValue)
function AddCreateOptions($sSelectId, $aOptions)
ImageProcess.php
$aDisallowedExtension
$aAllowedExtension
function GetUploadedImage($sFieldName,$iMaxUploaded=3,$sTargetPath='/imgbank/Image/' ,$iIdCustom=,$iBigWidth=600,$iSmallWidth=80,$bLeaveOriginal=false)
function ImageResize($sSource, $sDestination, $iNewWidth, $sExtension)
function CreateSubnail($sSource,$sTargetPath='/imgbank/Image/',$iIdCustom=,$iBigWidth=600,$iMiddleWidth=300,$iSmallWidth=100)
function ParseExtension($sPath)
Language.php
$aTranslateMessage
$aTranslateText
$aContextHint
$sLocale
$iLocale
$aLanguageList
$aLanguageAssoc
$sBaseLocale
$aOldParser
function __construct($sBaseLocale = )
function GetLocale()
function GetMessage($sKey, $sPage = "")
function GetDMessage($sKey, $sPage = "")
function GetText($sKey, $sPage = "")
function GetContextHint($sKey, $bUnique = false)
function GetOrderStatus($sKey)
function PrintPrice($dAmount,$bAbs=false,$bInvert=false,$sOutputType=,$sPriceType=)
function PrintCurrencyPrice($dAmount,$sCurrency='USD')
function PrintPriceByType($dAmount,$sPriceType='USD')
function Price($dAmount, $sPriceType=,$bAbs=false,$bInvert=false)
function GetDate($iTimestamp = , $iTimeZone = ,$bCurrentForce=false)
function GetDateTime($iTimestamp = , $iTimeZone = )
function GetPostDate($sPostDate,$iTimeZone=)
function GetPostDateTime($sPostDate,$iTimeZone=)
function FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s')
function GetLocalizedRow($aData)
function GetLocalizedAll($aData, $bReturnSql=false, $sAssocField = )
function Array2Hash($data, $key_array = )
function GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false)
function GetConstant($sKey,$sDefaultValue=)
function GetMessageArray($aArrayKey, $sPage = "")
function IncludeLocaleMap($sMap)
function AddOldParser($sObject,$iId)
function ReplaceOldParser($sOutput)
function GetCatalogMessage($sKey, $sPage = "")
function GetTranslit($sString, $sCharset='utf-8')
function PrintPriceCalc($aPrice)
function SetText($sKey, $sContent = "")
LocaleGlobal.php
function __construct()
function GetLocaleMap($sTableName)
function Edit()
function Apply()
Log.php
function __construct()
function VisitAdd()
function AdminAdd($sAction,$sTableName=,$sBeforeApply=,$sAfterApply=)
function FinanceAdd($aData,$sSection,$iIdUser=,$sDescription,$sCreatedBy=)
function GlobalAdd($aData,$sSection,$iIdUser=)
function OrderAdd($aData,$sSection,$iIdUser=)
Mail.php
$bAddedNoRply
function SendNow($sAddress,$sSubject,$sBody,$sFrom=,$sFromName=,$sCc=,$iLanguage=null, $bFromDelayed=false, $iPriority=5)
function SendAttach($sAddress,$sSubject,$sBody,$aAttachment=array(),$sCc=,$sFrom=,$sFromName=,$sCharSet = 'cp1251')
function AddDelayed($sAddress,$sSubject,$sBody,$sFromEmail=,$sFromName=,$bCheckEmail=true, $iPriority=5 ,$sAttachCode=,$sDescription=,$sSendAfterDate=)
function SendDelayed($iLetter=1)
function OpenAccount($sHost,$iPort,$sUsername,$sPassword,$sType="pop3",$sFolder="",$bSsl=false)
function GetEmailCount($oAccount)
function GetEmailHeader($oAccount,$iNumberEmail)
function GetAttachment($oAccount,$iNumberEmail)
function DecodeMimeString($sString)
function DeleteEmail($oAccount,$iNumberEmail)
function CloseAcount($oAccount)
function GetSenderEmail($oAccount,$iNumberEmail)
Message.php
function __construct()
function Index()
function Prepare()
function MoveToFolder()
function Reply()
function Forward()
function Send()
function Draft()
function Compose()
function Delete()
function Clear()
function Preview()
function ChangeCurrentFolder()
function MessageNumber($iIdUser,$iIdMessageFolder)
function CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser=,$sUserFrom=)
function SendMessage($sTo,$sSubject,$sText,$iIdMessage=,$bSendEmail=true)
function DeleteMessage($iId)
function EraseMessage($iId)
function MoveMessage($iId,$iIdMessageFolder)
function getUserList($aLogin)
function ReadMessage($iId)
function CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId=,$iPriority=3)
function CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
function SendBulkUserNotification($sAdditionalWhere=)
function PreviewUserNotification()
function AddNote($iIdUser,$sName,$sDescription,$sUrl=,$sReplyTo=)
function CheckNote()
function NoteClose()
function CreateCustomerIdExcel($aUserNotification)
Payment.php
$aWebmoneyPurse
$aMoneyBookersCurrency
function __construct()
function Index()
function WebmoneyResult()
function WebmoneySuccess()
function WebmoneyFail()
function Log($sMethod='webmoney', $sMessage=)
function WebMoneyPayment()
function MoneybookersResult()
function MoneybookersSuccess()
function MoneybookersFail()
function MoneybookersPayment()
function PaypalResult()
function PaypalSuccess()
function PaypalFail()
function PaypalPayment()
function decodeQouta( $str )
function decodeGPC( $str )
function LiqpayResult()
function LiqpaySuccess()
function LiqpayFail()
function LiqpayPayment()
function GetLiqpayOperationXml()
function ParseTag($rs, $tag)
function GetTransactionAccount($sAccountId,$sCurrencyCode=)
function WebtopayResult()
function WebtopaySuccess()
function WebtopayFail()
function WebtopayPayment()
function QiwiResult()
function QiwiPayment()
function MonexyResult()
function MonexySuccess()
function MonexyFail()
function MonexyPayment()
function UnitellerResult()
function UnitellerSuccess()
function UnitellerFail()
function UnitellerPayment()
Permission.php
$aAllowAction
function Init()
function AppendPermission()
function CheckPermission()
PrintContent.php
function Append($sContent)
function Index()
Repository.php
$oInstance
$sPrefix
function Get()
function __construct()
function InitDatabase($sModuleName,$bCoreSql=true)
function CheckTableExist($sTableName)
function CheckUpdate($sModuleName,$bCoreSql=true)
Resource.php
$oInstance
$sPrefix
$aLocation
$aHeaderResource
$aResourceVersion
function Get()
function __construct()
function Add($sFilePath,$iFileVersion=0,$sLocation='header',$aData=array())
function FillTemplate()
Sms.php
function __construct()
function FormatNumber($sPhoneNumber)
function SendGT($sPhoneNumber, $sMessage, $iTimeout = 10)
function SendTurbo($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
function SendTurboV2($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
function SendNow($sPhoneNumber, $sMessage)
function AddDelayed($sPhoneNumber, $sMessage)
function SendDelayed($iMessage = 1)
function SendClickatell($sPhoneNumber, $sMessage, $sSender =)
String.php
function Serialize($aValue)
function Unserialize($sValue)
function FirstNwords($sString, $iWord)
function CheckEmail($sEmail)
function FilterRequestData($aData,$aFieldArray=array())
function QuoteCommaString($sString)
function CheckDomain($sHaystack, $sNeedle)
function UtfEncode($sString)
function GetSmartyTemplate($sKey,$aTemplateData=array(), $bOldStyleTemplate=true)
function GetTemplateRow($sKey)
function GetPage($sKey, $bShowInvisible=false)
function ProcessDropDownAdditional()
function ProcessStatic()
function GetDecimal($sDouble)
function Md5Salt($sPassword,$sSalt)
function GenerateSalt()
function GeneratePref($sPrefIn=)
function GetUcfirst($sString)
function GetUcword($sString)
function FormatPhoneNumber($sString,$bNeedCat=TRUE)
function CheckUaPhone($sString)
function ParseSize($size)
function FormatSize($size)
function FormatPlural($count, $singular, $plural)
Table.php
$sType
$aDataFoTable
$sSql
$sTableSql
$aItem
$aColumn
$iRowPerPage
$iRowPerFirstPage
$iRowPerPageGeneral
$iPage
$bShowRowsPerPage
$sActionRowPerPage
$bShowPerPageAll
$iStepNumber
$aOrderedColumn
$aOrdered
$sDefaultOrder
$sWidth
$sClass
$sStepperClass
$sStepperClassTd
$sStepperActiveItemClass
$sStepperInfoClass
$bStepperInfo
$bStepperOutTable
$bStepperHideNoPages
$sCellSpacing
$sDataTemplate
$sButtonTemplate
$sSubtotalTemplate
$sSubtotalTemplateTop
$sAddButton
$sAddAction
$aCallback
$aCallbackAfter
$bSetDefault
$bPearStepper
$bStepperVisible
$bAjaxStepper
$bHeaderVisible
$bHeaderVisibleGroup
$bHeaderNobr
$bCheckVisible
$bCheckRightVisible
$bCheckOnClick
$sCheckAction
$bCheckAllVisible
$sCheckAllAction
$bDefaultChecked
$sCheckAllClass
$bFormAvailable
$sFormAction
$sCheckField
$iAllRow
$bHideTr
$sIdiTr
$sIdForm
$sHeaderRight
$sTemplateName
$sFilterTemplateName
$sPrefix
$sQueryString
$sOrderAscImage
$sOrderDescImage
$sHeaderClassSelect
$bFilterVisible
$aFilter
$sFormHeader
$sStepperAlign
$iGallery
$bIsGallery
$sStepperType
$bStepperOnePageShow
$bCacheStepper
$bTopStepper
$sNoItem
$bCountStepper
$iStepLimit
$bStepperStyling
$bTableWithoytStyle
$iStartStep
$bHeaderType
$sMarkAllText
$sManualLimit
$sButtonSpanClass
$sPanelTemplateTop
$sLinkPrefix
$sLinkRewrite
$sIdTable
$iColspanFilter
$iColspanSearchStrong
function __construct()
function GetTable($sHeader = , $sHint = ,$sStaticHeader=,$sHeaderNT = )
function getStepper($iRowNumber)
function printPage($countPage, $actPage)
function getStepperPear($iRowNumber)
function getFilter()
function Customize()
function SetSql($sScript, $aData = array())
function sortArrayCallback($sA, $sB)
function setArray($aData)
function GetFilteredProductEnding($iCount)
Tree.php
$sType
$aDataFoTable
$sSql
$sTableSql
$aItem
$aColumn
$iRowPerPage
$iPage
$iStepNumber
$aOrderedColumn
$aOrdered
$sDefaultOrder
$sWidth
$sClass
$sDataTemplate
$sButtonTemplate
$sSubtotalTemplate
$sAddButton
$sAddAction
$aCallback
$bPearStepper
$bStepperVisible
$bAjaxStepper
$bHeaderVisible
$bCheckVisible
$bCheckAllVisible
$bDefaultChecked
$bFormAvailable
$sCheckField
$iAllRow
$bHideTr
$sHeaderRight
$sTemplateName
$sFilterTemplateName
$sPrefix
$sQueryString
$sOrderAscImage
$sOrderDescImage
$bFilterVisible
$aFilter
$sFormHeader
$sStepperAlign
$iGallery
$bIsGallery
$sStepperType
$bCacheStepper
$bTopStepper
$sNoItem
$bCountStepper
function __construct()
function getTree($sHeader = , $sHint = )
function getStepper($iRowNumber)
function getStepperPear($iRowNumber)
function getFilter()
function Customize()
function setSql($sScript, $aData = array())
function sortArrayCallback($sA, $sB)
function setArray($aData)
VinRequest.php
function __construct($bNeedAuth=true)
function Index()
function Preview()
function Manager()
function ManagerSave($bRedirect=true)
function ManagerSend()
function ManagerRefuse()
function ManagerRelease($iId)
function ManagerMobileNotification($aVinRequest)
function GetVinIdList($bReturnArray=false)
function ManagerRemember()
XajaxParser.php
$xajax
$sXajaxJavascript
Каталог module
AdminRegulations.php
$sPrefix
function __construct()
function Index()
function SinxroTranslate()
function InsertIrbis()
function GetFromIrbis()
Binotel.php
$oBinotel
function __construct()
function InputCalls()
function OutputCalls()
function LostCalls()
function CallsByManager()
function CallsByNumber()
function CallsNow()
function Managers()
function UserAdd()
function UserImport()
function UserEdit()
function Users()
function Call()
function Index()
function GetCallFromStart()
function GetCallRecord($sCallId)
function GetCallsNow()
function GetLostCalls()
function GetCallsByNumber($sNumber)
function GetCallsByUser($sUser)
function GetCallInfo($sCallId)
function GetMyLastCalls($sInternalNumber)
function GetMyCallsByDate($sInternalNumber,$iDateStart,$iDateEnd)
function GetCallsByDay()
function GetCallsByDate($sDateStart,$sDateEnd)
function GetInputCalls()
function GetOutputputCalls()
function GetAllUsers()
function GetUserById($iIdUser)
function GetUserByNameOrPhone($sNameOrPhone)
function CreateBinotelUser($sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
function EditBinotelUser($sId,$sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
function RemoveBinotelUser($iIdUser)
function GetClientLabels()
function GetAllManagers()
function MakeCallToExternal($iInternal,$iExternal)
function CallTransfer($iCallId,$iInternalNumber)
function KillCall($iCallId)
Buh.php
$sPrefix
$sCurrentPeriod
$sError
$sDateTo
$sDateFrom
$aActionException
$sCurrentPeriodLastDate
function __construct()
function Index()
function SetNextPeriod()
function GetLastDate($sDate)
function Entry($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
function EntrySingle($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
function EntryMany($aEntry)
function CheckParametr($aData)
function EntryMonth($sDateMonth, $iAccount, $iAccountSub1=0, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
function EntryMonthSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
function EntryMonthMany($aEntry)
function EntryMonthStartSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart)
function Changeling ()
function CallParseSum(&$aItem)
function CloseMonth()
function AddAmount()
function ChangeForm()
function ChangelingPreview($bVisibleForm=true)
function GetSubconto()
function GetAmount($sBuhSection,$iBuhSection,$idBuh,$sBuhType='credit')
function GetSaldoLast($iSubconto1,$iBuh='361')
CallMe.php
function Send()
function ShowManager()
Cart.php
$sExportSql
function __construct($bNeedAuth=true)
function Index()
function CartList()
function AssignDeliveryMethods()
function CartOnePageOrder()
function CartOnePageOrderManager()
function CartPrint()
function CallParseCart(&$aItem)
function AddCartItemChecked()
function AddCartItem($iNumber=1,$bRedirect=true,$sReference='')
function CartUpdateNumber()
function OrderList()
function CallParseOrder(&$aItem)
function ParseVinCode($sVinCode, $iCheckVinLen = 17)
function PackageConfirm()
function PackageDelete()
function CheckAccount()
function SelectAccount()
function ShipmentDetail()
function PaymentMethod()
function PaymentEnd()
function PaymentEndButton()
function SendPendingWork($iIdCartPackage)
function PackagePrint()
function PackageList()
function NewAccountError()
function NewAccountManagerError()
function PopUpGetOwnAuto()
function RecalcCartUser($iIdUser,$iIdUserNew,$iIdCartPackage=0)
function GetBoardExpiredCartUser($iIdUser)
function CartExpiredCountPositions($iUserId = 0)
function CartExpiredInfo($iUserId = 0)
function OrderByPhone()
function NewAccountDeliveryInfoFields()
function CartOnepageDeliveryFields()
function CartOnepagePaymentFields()
CatalogManager.php
$sPrefix
$sPrefixAction
$sPathToFile
function Index()
function EditName()
function EditPic()
function UploadManyPics()
function UploadPic()
function ViewPicList()
function UploadMakeCodePic()
function AddInfo($aData=array())
function DeleteInfo($aData=array())
function SetItemCodeImage()
function ImportImage()
function DeleteImportImage()
function SetImportImage()
function ModelType()
function ModelTypeDelete($aData=array())
function AddCatInfo($aData)
function UpdateNumber()
Catalog.php
$sPrefix
$sPref
$aCode
$aCodeCross
$aItemCodeCross
$aExt
$sPathToFile
$bShowSeparator
$aCat
$aCats
$aModel
$aModelDetail
function __construct()
function Index()
function ViewModel()
function CallParseModel(&$aItem, $bSeparator=false)
function ViewModelGroup()
function GetModelPic($aData)
function GetModelDescription($aData)
function GetModelName($aData)
function ViewModelDetail($bShow=false)
function ModelFor()
function CallParseModelDetail(&$aItem, $bSeparator=false)
function ViewAssemblage()
function GetBranch($id, $aData)
function getAllParent($aTree, $iId, $iRootId, &$aCod)
function CallParsePart(&$aItem)
function StripCode($sCode)
function StripLogin($sCode)
function StripCodeSearch($sCode)
function StripCodeSql($sField)
function GetFormattedCode($sCode,$sPref)
function ViewPrice()
function GetPriceTableHead(&$oTable)
function CallParseBrand(&$aItem)
function CallParsePrice(&$aItem, $bSeparator=false)
function ActualFilter(&$aItem)
function PosPriceParse(&$aItem,$bHaveFirstSeparator=true,$bHaveAnalogs=true)
function GetJson()
function ViewInfoPart()
function OriginalCross()
function GetPriceForInfoPart($sCodeInput='',$sPrefInput='')
function ExportPrice()
function SetImageWidth()
function UpdatePrice($sItemCode="",$idProvider="",$dPrice=0)
function Cross()
function CrossLoad()
function CrossInstall()
function InstallExcel($aCrossProfile, $aPref)
function InstallExcel07($aCrossProfile, $aPref)
function InstallCSV($aCrossProfile, $aPref)
function CrossClearImport()
function CrossImportAdvance()
function CrossProfile()
function InsertCross($aData)
function InsertCrossStop($aData)
function DeleteGroupCross()
function DeleteCross($bRedirect=true)
function DeleteGroupCrossStop()
function DeleteCrossStop($bRedirect=true)
function ImportCross()
function SearchAdvance()
function PrintPartName($aRow)
function ChangeSelect()
function LoadAutotechnics()
function CrossStop()
function ViewBrand()
function ViewBrandShow()
function CorrectBrandLink(&$aBrand)
function ChangePartParam()
function CallParseCross(&$aItem)
function ViewOwnAuto()
function MotoBrands()
function MotoModels()
function MotoDetails()
function MotoAssemblage()
function mb_ucfirst($str, $enc = 'utf-8')
function outTree(&$category_arr=array(), $parent_id, $level)
function SetSelectedPart(&$aTree=array(), $iPart)
function GetArtId($sItemCode)
function SortTable()
function TruckIndex()
function TruckModels()
function TruckDetails()
function TruckAssemblage()
function ParseTruckPartsImages(&$aItem)
CommentTree.php
function __construct()
function GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
function Post()
function convertArrayToTree($aSourceArray, $sParentId='0', $sKeyChildren='child', $aKeyId='id', $sKeyParentId='parent_id')
function doConvertArrayToTree($aSourceArray, &$aThisTree, $sParentId, $sThisId, $sKeyChildren, $aKeyId, $sKeyParentId)
ContactForm.php
function __construct()
function Index()
function Call()
Customer.php
function __construct()
function Index()
function Profile()
function IsChangeableLogin($sLogin)
function IsTempUser($sLogin=)
function ChangeRating()
Dashboard.php
function __construct()
function Index()
function Customer()
function User()
function PartnerRegionChange()
Delivery.php
function __construct()
function Index()
function Set()
ElitRoma.php
$sPathToFile
function Index()
function Export($bPrice=false)
function CronSecond()
function CronLoad()
function GetPrice()
function Load()
function LoadFromExcel($sFilePath,$sTable='')
function Insert(&$aInsert=array(),$sTable='')
function LoadPrice($aItem,$sTable='')
function GetSessionID()
Error.php
function GetError($iCode)
Finance.php
$aHaveMoney
$aUserAccountLogTypeAssoc
function __construct()
function Index()
function CallParseLog(&$aItem)
function ExportAll()
function CreateFinanceExcel($sSql,$bShowCustomer=false)
function BillforUser ()
function Bill()
function BillPrint($iIdBill='')
function Deposit($iIdUser,$dAmount,$sDescription='',$iCustomId='',$sPayType='internal',$sSection='internal',$sData='',$iIdUserAccountLogType='')
function TransactionError($aData, $iIdUser='', $sDescription='')
function AccountAmount($iIdUser)
function DebtAmount($iIdUser)
function HaveMoney($dAmount,$iIdUser='',$bFullPayment=false)
function PayForAccount()
function GetGeneralAccountAmount()
function GetUserAccountLogTypeAssoc()
function GetSumAmount($sUserType='customer')
function AssignAccount($aUser)
function AssignSubtotal($sWhere)
GarageManager.php
$aTypeDrive
$aTypeFuel
$aTypeTransmission
$aTypeBody
$aTypeWheel
$aVinMonth
function __construct()
function Index()
function Profile()
function CallParseUserAuto(&$aItem)
function AddComment()
function Edit()
function Delete()
function GetInfoAuto($aData)
function GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1)
function Get_aTypeFuel()
function Get_aTypeDrive()
Home.php
function Index()
function GetPopularProducts()
function GetLastViewedProducts()
ManagerCart.php
$sCustomerSql
function __construct()
function Index()
function CallParseCart(&$aItem)
function Archive()
function Store()
function Payment()
ManagerInvoiceCustomer.php
$aCartScan
LOG_PRICE_PLACE
LOG_ADDITIONAL_PAYMENT
CUSTOMER_TYPE_UKRAINE
CUSTOMER_TYPE_NOT_UKRAINE
CUSTOMER_TYPE_NOT_SET
$sPrefix
function __construct()
function Index()
function CallParseCustomer(&$aItem)
function Create($bPrint=false)
function CallParseCreate(&$aItem)
function ChangeRating()
function Invoice()
function PrintInvoice($iIdUser='',$bReturnContent=false)
function GetFactureRight(&$aUserInvoice,&$aAdditionalItem,$aDeliveryCost=array(),$dTarifTax=0,$sCurrency='USD')
function Recalculate($iIdInvoiceCustomer)
function CreateOfficeTravelSheet()
function IsTravelSheetAdd()
function IsTravelSheetClear()
function IsTravelSheetBrowse()
function CreateInvoiceTravelSheet()
function GetInvoiceExcel()
function GetInvoiceExcelFitlered()
function GetInvoiceExcelAll()
function Send($iInvoiceCustomer)
function End($iInvoiceCustomer)
function GetInvoiceFactureExcel()
function GetInvoiceFactureExcelFitlered()
function GetInvoiceFactureExcelAll()
function SendInvoiceFactureExcel($aInvoiceId)
function GetInvoiceListExcel()
function ChangeCustomerType()
function DeliveryCalculator()
function Delivery()
function CallParseDelivery(&$aItem)
function DeliveryEdit()
Manager.php
$sPrefix
$sPrefixAction
$sCustomerSql
$sExportSql
$sExportMegaSql
$aCustomerList
$sCurrentOrderStatus
function __construct()
function Index()
function GetCustomerList()
function Profile()
function Customer()
function CustomerEdit()
function CustomerRedirect()
function Order()
function CallParseOrder(&$aItem)
function ChangeStatus()
function AgreeGrowth()
function Reorder()
function Bill()
function ProcessOrderStatus($iId='', $sOrderStatus='', $sComment='', $sIdProviderOrder='', $dProviderPrice='', $sIdProviderInvoice='', $sCustomValue='')
function ChangeCart($aCart,$sOrderStatus,$sCustomValue)
function VinRequest()
function CallParseVinRequest(&$aItem)
function VinRequestSave($bRedirect=true)
function VinRequestSend()
function VinRequestRefuse()
function VinRequestRelease($iId)
function VinRequestMobileNotification($aVinRequest)
function GetVinIdList($bReturnArray=false)
function VinRequestRemember()
function PackageAddOrderItem()
function Package()
function CallParsePackage(&$aItem)
function DeletePackageEmpty()
function ExportAll()
function OrderReportExport()
function ExportOrder()
function ExportOrderAll()
function Export($sType='row_check')
function ExportMegaAll()
function ExportMega($sType='row_check')
function GetCartMake($aCart)
function ImportStatus()
function EditWeight()
function ImportWeight()
function AddWeightName($u)
function AssignCustomers()
function Finance()
function CallParseLog(&$aItem)
function ReturnFullPaymentDiscount($aCart)
function FinanceExportAll()
function ParentMarginDebet($aCart)
function IsChangeableLogin($sLogin)
function CountMoney()
function PayCartPackage($iIdCartPackage,$aEntry=array())
function NotifyDebitedMoney($aEntry=array())
function PrintOrder()
function RefusePending()
function PrintPakage()
function SetPriceTotalCartPackage($aCart)
function MergePakage()
function ChangeProvider ()
function SetPackagePayed ()
function Cat ()
function SynonymBrandClear ($sBrand)
function Synonym ()
function CatPref ()
function SetCheckedAuto ()
function CustomerRecalcCart ()
function JoinOrders()
function GetUserSelect()
function GetPopularProducts()
Manual.php
function Manual()
function Index()
function Show()
function ShowShort($sRequesCode)
function CommentList($sManualId)
Map.php
$sPrefix
$aMap
function __construct()
function Index()
function DropdownGetChilds($iIdParent)
Message.php
function __construct()
function Prepare()
function MoveToFolder()
function Reply()
function Forward()
function Send()
function Draft()
function Compose()
function Delete()
function Clear()
function Preview()
function ChangeCurrentFolder()
function Browse()
function CallParseMessage(&$aItem)
function MessageNumber($iIdUser,$iIdMessageFolder)
function CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser='',$sUserFrom='',$aAttachFiles=array())
function SendMessage($sTo,$sSubject,$sText,$iIdMessage='',$bSendEmail=true, $aAttachFiles=array())
function DeleteMessage($iId)
function EraseMessage($iId)
function MoveMessage($iId,$iIdMessageFolder)
function getUserList($aLogin)
function ReadMessage($iId)
function CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId='',$iPriority=3)
function CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
function SendBulkUserNotification($sAdditionalWhere='')
function PreviewUserNotification()
function AddNote($iIdUser,$sName,$sDescription,$sUrl='',$sReplyTo='')
function CheckNote()
function NoteClose()
function CreateCustomerIdExcel($aUserNotification)
function ChangeStarred()
function ChangeStarredMessage()
function GetAttachFiles()
News.php
function __construct()
function Index()
function Preview()
function CommentList()
OwnAuto.php
$sPrefix
$aTypeDrive
$aTypeFuel
$aTypeTransmission
$aTypeBody
$aTypeWheel
$aVinMonth
function __construct()
function Index()
function CallParseUserAuto(&$aItem)
function CallParseLogUserAuto(&$aItem)
function GetJson()
function Del()
function GetInfoAuto($aData)
function Get_aTypeFuel()
function Get_aTypeDrive()
function GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1, $aData)
function AddJson()
function GetAutoInfoTip($iOrderId)
function GetListOwnAuto()
function GetInfoById($iId = 0)
function SearchLog()
function AddSearchAuto()
function DelFromAutoLog()
PaymentDeclarationManager.php
function __construct() =
function Index() =
function Add() =
function Delete() =
function SelectUser() =
PaymentDeclaration.php
function __construct()
function Index()
Payment.php
function __construct()
function Index()
function Log($sMethod='webmoney', $sMessage='')
function LiqpayResult()
function LiqpaySuccess()
function LiqpayFail()
function LiqpayPayment()
PaymentReportManager.php
function __construct()
function Index()
PaymentReport.php
function __construct()
function Index()
function Add()
function Delete()
PriceFtp.php
$sPrefix
$sPrefixAction
function __construct()
function Index()
PriceGroup.php
$sPrefix
function __construct()
function Index()
function cmp($a, $b)
function CallParse(&$aItem)
function GetTabs()
function GetMainGroups()
function Filter()
function SortTablePriceGroup()
Price.php
$sPrefix
$oCatalog
$rs
$exchange_facrot
$aPref
$aParserPatern
$aParserBefore
$aParserAfter
$aTrimLeft
$aTrimRight
$aPrefName
$aPriceGrp
$aValidateExtensions
function __construct()
function Index()
function LoadFromFile()
function InitLoader($aPrice_profile)
function LoadFromExcel($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
function LoadFromCsv($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
function LoadFromText($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
function LoadFromDbf($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
function LoadPrice($data,$aPrice_profile,$aProvider,$iUser,$iPriceQueue)
function Install($bRedirect=true)
function ConformityApply()
function AutoAssocCat()
function Conformity()
function ClearImport($sMessage='', $bRedirect=true, $sType = 'all', $iIdProvider=0)
function ClearProvider($bRedirect=true, $iPriceQueueId = 0)
function ClearPref()
function AddItem($aCart,$dPrice)
function Export()
function ExportFile()
function AddRequest()
function AddCat()
function ConvertToInteger($sNumber)
function RefreshQueue()
function getStoppedQueueFlag($id)
function SaveToLog($aResult, $iAllStringsCurrentList, $iAllStringsTotal, $iAllStrings, &$iCountError, $iList, $iPriceQueue, $aData, $aPrice_profile)
function CheckStoppedLoadPrice($iPriceQueue)
function LoadFromXlsxAll($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
function LoadFromXlsxPartial($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
function GetArrayUnknownPref()
function SaveFilesToQueue($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
function SaveFilesToQueueExtended($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
function SaveFilesToQueueExtendedInsert($aProfileInfo,$aData,$aValue,$sErrorProfile,$sPathToFile)
function ClearOldQueueFiles()
function ClearOldQueueImportRecords()
function RemovePref()
function AddAutoPref()
function GetAssociate()
function FindAssociate($aData)
function BuildAssociateData()
function GetPriceMarginId($aData)
function dbg_last_error($iPriceQueue = 0)
PriceProfile.php
$sPrefix
function __construct()
function Index()
function ReloadViewPrice()
function ProviderAddFromFile()
function PopUpProviderAdd()
function CreateProvider()
function GetDataFromFile($aData)
function LoadFromCsvLimit($aFile,$iLimit=10)
function LoadFromExcelLimit($aFile,$iLimit=10)
function CreateProfileFromFile()
function ProviderEdit()
function ProviderMakroInfo($aData)
PriceQueue.php
$sPrefix
$sPrefixAction
$sPathToFile
function PriceQueue()
function Index()
function GetMailAttachment()
function LoadQueuePrice()
function GetFtpFile()
function GetQueueInfoTable()
function CallParseQueue(&$aItem)
function AsuncLoadQueuePrice($iRedirect = 1)
function SendRequest($url, $params)
function LoadMessageLog()
function BuildMessage($iId = 0,$bIsMailMessage = false)
function GetProfile($sType = 'mail', $sFileName = '', $sSubject = '', $sFrom = '')
PriceSearchLog.php
function __construct()
function Index()
function AddSearch($sPref=false,$sCode=false)
PublicProvider.php
function __construct()
function Add()
function Show()
function CallParseProvider(&$aItem)
function CreateExcel()
Rating.php
function __contruct()
function Change($sSection,$iRefId,$iNumRating)
RequestForm.php
function __construct()
function Index()
Rubricator.php
function __construct()
function GetModels()
function GetModelDetails()
function SetMake()
function SetModel()
function SetModelDetail()
function SetAll()
function GetRubricatorUrl()
function GetRubricatorUrlForFilter()
function GetPart($sUrlGroup='',$iIdPriceGroup=0)
function CallParsePartRubricator(&$aItem)
function Index()
function Category()
function SubCategory()
function GetMainMenu()
function GetMain()
function SetBrandPriceOrderUrl($sUrlParamsInclude)
function GetBrandsForFilter($sType,$source,$iIdPriceGroup,$aItemCodesUnique)
function cmp($a, $b)
function GetRubricForModelGroup($aModelGroup,$sCat)
function CheckSelectedAuto()
function CheckSelectedAutoName()
function ClearAutoUrl()
Search.php
$sPrefix
$sQuery
function __construct()
function Index($bShowSearchForm=true)
function AllPriceGrouped()
function AllPriceGroup()
function SinglePriceGroup()
function SetDefaultSetting(&$oSphinxClient,$iLimit=1000)
function GetSphinxKeyword($sQuery)
function StripQuery($sQuery)
function AllSearch()
Sound.php
$aSound
$iAudio
function GetSound($sKey, $sDefault = "")
function InsertIntoPage($sCode,$sDefault="")
function InsertIntoPageCustomerByLogin($sLogin)
function InsertIntoPageCustomerById($sId)
function UploadCustomerSound()
function GetHtmlCode($sFilename)
function GetHtmlCodeCustomer($aData)
function GetCustomerFileNamePath($sLogin,$bIsUrl=false)
Store.php
$sPreffix
$bTransferFlag
function __construct()
function Index()
function AddToSale()
function AddToTransfer()
function InputInvoiceScanner()
function InputInvoiceManual()
function InputInvoiceProcess()
function Sale()
function SaleInvoice()
function SaleInvoiceProcess()
function ReturnStore()
function Log()
function LogHistory()
function GetMd5($aValue)
function UpdateNumber()
function Transfer()
function TransferProcess()
function TransferProcessTry($aProductFromLog=array(), &$aValue=array(), $aData=array(), $iType='2')
function Balance()
function ExportToPrice()
function Products()
TecdocDb.php
function Execute($sSql,$aInput=false)
function GetAll($sSql)
function GetAssoc($sSql, $aData=array(), $bReturnSql=false)
function GetRow($sSql)
function GetOne($sSql)
function AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
function Debug()
function LogSql($bEnable=true)
function InsertId()
function AffectedRow()
function StartTrans()
function FailTrans()
function CompleteTrans()
function Escape($aData)
function GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
function SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
function GetTableInfo($sType='')
function SetWhere(&$sWhere, $aData, $sDataField, $sPrefix, $sTableField="")
function GetDateFormat($sNameField="post_date", $sFormat="")
function GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
function GetModels($aData)
function GetModel($aData)
function GetModelAssoc($aData)
function GetModelPicAssoc($aData)
function GetModelInfo($aData)
function GetModelDetails($aData,$aCat=false,$aCatTitles=false)
function GetModelDetailAssoc($aData,$aCat=false)
function GetApplicability($aData)
function GetModelDetail($aData,$aCat=false)
function GetTree($aData)
function GetTreeAssoc()
function GetTreeTruck($aData)
function GetTreeParts($aData, $aCats=false, $bTruck=false)
function GetTreePartsRubricator($aData, $aCats=false)
function GetPartCriterias($aData)
function GetImages($aData, $aCats=false, $bAssoc=TRUE)
function GetArt($aData)
function GetArtName($aData)
function GetArts($aCodes)
function GetPartInfo($aData,$aCats=false)
function GetCross($aData,$aCats=false)
function GetCriterias($aData)
function GetOriginals($aData,$aCats=false)
function GetIdMakeByIdModel($iIdModel)
function AssocArtIdItemCode($aData)
function GetCriteriasDBTOF($aData,$sLang='en')
function GetModelDetailsDBTOF($aData,$aCat=false,$sLang='en')
function GetApplicabilityDBTOF($aData,$sLang='en')
function GetModificationAssoc($aData)
function GetSelectCar($aData)
function GetYears($sModel)
Test.php
function Index()
function SetElitParams()
function SetElitImage()
function GetElitImages()
function ProcessExcel($iTimer)
function GetPriceTableByCode()
function GetSessionID()
function GetCodePrice($sSID,$sCode,$sBrand='')
function GetCodesByCode($sSID,$sCode)
function GetPriceByCode($aCodes)
User.php
$aErrorTr
function __construct()
function Login()
function DoLogin()
function UloginLogin()
function Logout()
function NewAccount()
function NewAccountError()
function DoNewAccount($bAutoCreate=false)
function ConfirmRegistration()
function RestorePassword()
function NotifyConfirmedProfileFill($iIdUser)
function ChangePassword()
function ChangeLogin()
function NewPassword()
function CheckLogin()
function ChangeLevelPrice()
function RecalcCart($iIdUser,$iIdUserNotManager = 0)
VinRequest.php
function __construct()
function Index()
function Preview()
function Manager()
function ManagerSave($bRedirect=true)
function ManagerSend()
function ManagerRefuse()
function ManagerRelease($iId)
function ManagerMobileNotification($aVinRequest)
function GetVinIdList($bReturnArray=false)
function ManagerRemember()
function ManagerDelivery()
function ManagerSendPreview()
function PackageCreate()
function Get_aTypeBody()
function Get_aTypeKpp()
function Get_aTypeWheel()
function Get_Months()
function GetMarka()
function ChangeSelect()
function ChangeSelectOwnAuto()
Каталог system
BinotelApi.php
$key
$secret
$apiHost
$apiVersion
$apiFormat
$disableSSLChecks
$debug
function __construct($key, $secret, $apiHost = null, $apiVersion = null, $apiFormat = null)
function sendRequest($url, array $params)
function handleBinotelCallback()
function disableSSLChecks()
function getSingnatureByRequest(array $params)
Content.php
Cron.php
Currency.php
Discount.php
Exchange.php
Language.php
Webservice.php
Каталог cron
Содержит папку "local" в которой размещены файлы:
- backup.sh - скрипт для сохранения дампа основной базы. Скрипт выполняется каждые сутки.
- backup_weekly.sh - скрипт для сохранения таблиц cross и cross_stop. Скрипт выполняется 1 раз в неделю.
Каталог css
Содержит файлы css проекта, подключенные в данном дизайне. Также может содержать css от дополнительных библиотек.
Каталог image
Содержит изображения использующиеся в дизайне сайта.
Каталог imgbank
Содержит файлы и папки которые загружаются и выгружаются с сайта
- Image - директория изображений загружаемых на сайт
- price - директория загружаемых на сайт прайсов
- temp_upload - директория используется для выгрузок с сайта и обмена с 1С
- default_cross_import.xls - пример файла импорта кроссов
- default_price.xls - пример файла импорта прайса
- test_status_upload.xls - пример файла импорта статусов
- test_weight_upload.xls - пример файла импорта веса запчастей
Каталог include
Содержит настройки и каталог SQL запросов:
- locale_map - каталог настроек мультиязычности
- sql - каталог SQL запросов
- currency_convert_ru.php - настройки отображения валюты
- order_status_config.php - настройки статусов заказа
- user_notification.php - настройки уведомлений пользователей
- vin_request.php - настройки данных формы VIN запроса
Подкаталог sql содержит запросы которые используются в обработчиках, например запрос "Cat.php" используется в обработчике MPanel для отображения брендов на сайте.
Пример использования:
$sSql = Base::GetSql('Cat',array('id'=>'102'));
Функция Base::GetSql() имеет 2 параметра:
- имя запроса, должно быть написано латиницей, начинаться с заглавной буквы и не содержать пробелов.
- массив параметров(не обязательно)
В данном примере результатом выполнения функции будет текст SQL запроса в который подставиться условие where c.id='102'
Содержимое файла Cat.php:
<? function SqlCatCall($aData) { $sWhere.=$aData['where']; Db::SetWhere($sWhere,$aData,'id','c'); Db::SetWhere($sWhere,$aData,'pref','c'); Db::SetWhere($sWhere,$aData,'is_main','c'); Db::SetWhere($sWhere,$aData,'is_brand','c'); Db::SetWhere($sWhere,$aData,'visible','c'); Db::SetWhere($sWhere,$aData,'id_tof','c'); Db::SetWhere($sWhere,$aData,'id_sync','c'); if ($aData['join']) { $sJoin .= " ".$aData['join']; } if ($aData['order']) { $sOrder.=" order by ".$aData['order']; } if ($aData['where']) $sWhere .= $aData['where']; $sSql="select c.* from cat as c ".$sJoin." where 1=1 ".$sWhere." group by c.id ".$sOrder; return $sSql; } ?>
В каждом файле должна быть объявлена функция по шаблону:
- Sql
- Название файла, если файл находится в поддиректории то имя директории должно быть с большой буквы
- Call
и иметь обязательный параметр. Пример файла PartDetailRubricator.php в директории OptiCatalog, имя функции в файле должно быть следующим: SqlOptiCatalogPartDetailRubricatorCall.
Вызов функции Db::SetWhere() внутри таких файлов, устанавливает необходимый параметр "where" для формирующегося SQL запроса.
Каталог js
Содержит js скрипты использующиеся на сайте, в том числе и дополнительные библиотеки, например:
- jquery
- jquery.maskedinput
- jquery.validate
Каталог lib
Содержит библиотеки php подключенные к проекту, например:
- adodb - работа с базой
- PHPExcel - работа с xls/xlsx файлами
- smarty - работа с шаблонизатором smarty
- sphinx - релевантный поиск
- и другие
Данные библиотеки являются общими для всех проектов!
Каталог libp
Содержит библиотеки в основном js подключенные к проекту, например:
- FCKeditor - визуальный html редактор
- xajax - библиотека для работы с ajax
- popcalendar - всплывающий элемент выбора даты
- и другие
Данные библиотеки являются общими для всех проектов!
Каталог mpanel
Содержит обработчики админ панели MPanel. Также содержит 2 файла:
- index.php - страница приветствия и входа в MPanel
- login.php - механизм связи обработчиков и ссылок в MPanel
Все обработчики находятся в поддиректории "spec" и отличаются от файлов директории "spec" в корне сайта тем что более унифицированы и являются не промежуточным звеном, а именно содержат код самого обработчика.
Основные файлы:
- admin_regulations.php - для регламентных работ
- banner.php - управление баннерами
- cat.php - бренды деталей на сайте
- cat_model.php - модели авто
- cat_model_group.php - группы моделей авто
- cat_part.php - карточки товаров
- cat_pref.php - префиксы брендов
- complex_margin.php - сложные наценки
- constant.php - константы
- context_hint.php - подсказки на сайте
- customer.php - заказчики
- customer_group.php - группы заказчиков
- delivery_type.php - типы доставки
- drop_down_additional.php - настройка выдачи урлов
- general_constant.php - основные настройки
- handbook.php - параметры групп деталей
- hbparams_editor.php - редактор параметров групп деталей
- log_admin.php - лог посещений администратора
- log_finance.php - лог финансов
- log_mail.php - лог писем
- log_sms.php - лог смс
- log_visit.php - лог посещений пользователя
- manager.php - менеджеры
- news.php - новости
- payment_type.php - типы оплат
- popular_products.php - популярные продукты
- price.php - прайсы
- price_group.php - группы деталей
- provider.php - поставщики
- provider_group.php - группы поставщиков
- rubricator.php - рубрикатор
- translate_message.php - перевод сообщений
- translate_text.php - перевод текстов
- user.php - общий обработчик для пользователей
Каталог single
Каталог для подключения любых библиотек php/js использующихся индивидуально на данном проекте.
Каталог spec
Содержит файлы для связи ссылок на сайте и обработчиков в папке class.
Основные файлы директории:
- call_me.php - заказ звонка
- cart.php - корзина и оформление заказа
- catalog.php - подбор по каталогу
- catalog_manager.php - редактирование каталога
- contact_form.php - страница контактной информации и форма обратной связи
- cron.php - автоматический запуск периодичных событий
- customer.php - редактирование информации пользователя
- dashboard.php - личный кабинет пользователя
- finance.php - управление счетами
- garage_manager.php - просмотр и редактирование менеджерами гаража полььзователя
- home.php - главная страница
- manager.php - функционал менеджера
- manager_cart.php - просмотр менеджером корзины пользователей
- manager_invoice_customer.php - работа с накладными для менеджера
- message.php - внутренние сообщения
- news.php - новости
- own_auto.php - гараж автомобилей
- payment.php - модули оплаты
- payment_declaration.php - декларации доставки пользователя
- payment_declaration_manager.php - декларации доставки менеджера
- payment_report.php - сообщение об оплате пользователя
- payment_report_manager.php - сообщение об оплате менеджера
- price.php - загрузка прайса
- price_group.php - группы прайсов
- price_profile.php - профили загрузки прайсов
- price_queue.php - очередь загрузки прайсов
- price_search_log.php - история поиска по коду
- print_content.php - вывод на печать
- rubricator.php - рубрикатор
- search.php - релевантный поиск
- test.php - тестовая страница, может использоваться для проверки функционала отдельных модулей
- user.php - регистрация пользователя, вход на сайт, выход
- vin_request.php - работа с VIN запросами
Все файлы в данной директории должны иметь название в нижнем регистре, латиницей, для разделения слов допускается только знак нижнего подчеркивания "_".
Пример файла:
<?php $sPrefix='customer_'; $oObject=new Customer(); switch (Base::$aRequest['action']) { case $sPrefix.'profile': $oObject->Profile(); break; case $sPrefix.'phone': case $sPrefix.'phone_edit': $oObject->Phone(); break; case $sPrefix.'change_rating': $oObject->ChangeRating(); break; default: $oObject->Index(); break; } ?>
В данном примере описана связь страниц:
- http://irbis.mstarproject.com/pages/customer_profile
- http://irbis.mstarproject.com/pages/customer_phone
- http://irbis.mstarproject.com/pages/customer_phone_edit
- http://irbis.mstarproject.com/pages/customer_change_rating
с обработчиками в классе Customer (/class/module/Customer.php)
Каталог template
Содержит шаблоны "*.tpl" для работы с шаблонизатором Smarty и генерации HTML кода.
Основные файлы и директории:
- addon - директория с общими для всех проектов шаблонами, содержит шаблоны форм, таблиц
- ... - шаблоны от модулей
- mpanel - директория с шаблонами админки
- templates_c - файлы кеша Smarty, их не нужно редактировать
- footer.tpl - шаблон футера
- header.tpl - шаблон хедера
- header_print.tpl - ???
- index.tpl - основной шаблон, в него подключаются header.tpl и footer.tpl, также он выводит переменную Base::$sText в которую обработчики отправляют контент
- message_input.tpl - перевод сообщений для js
В файлах "*.tpl" обычно используются:
Каталог verstka
Данный каталог содержит исходные файлы верстки сайта. Необходим для сохранения истории верстки.