Cheetah
Functions | Variables
design.inc.php File Reference

Go to the source code of this file.

Functions

 spacer ($width, $height)
 
 DesignProgressPos ($text, $width, $max_pos, $curr_pos, $progress_num='1')
 
 DesignProgress ($text, $width, $percent, $progress_num, $id='')
 
 DesignBoxContent ($title, $content, $db_num=0, $caption_item='', $bottom_item='')
 
 PageCode ($oTemplate=null)
 
 send_headers_page_changed ()
 
 SelectOptions ($sField, $sDefault='', $sUseLKey='LKey')
 
 getFieldValues ($sField, $sUseLKey='LKey')
 
 get_member_thumbnail ($ID, $float, $bGenProfLink=false, $sForceSex='visitor', $aOnline=array())
 
 get_member_icon ($ID, $float='none', $bGenProfLink=false)
 
 MsgBox ($sText, $iTimer=0)
 
 AdvMsgBox ($sText, $aOptions=array())
 
 LoadingBox ($sName)
 
 PopupBox ($sName, $sTitle, $sContent, $aActions=array())
 
 getTemplateIcon ($sFileName)
 
 getTemplateImage ($sFileName)
 
 getVersionComment ()
 
 getSiteStatUser ()
 
 genAjaxyPopupJS ($iTargetID, $sDivID='ajaxy_popup_result_div', $sRedirect='')
 
 getBlockWidth ($iAllWidth, $iUnitWidth, $iNumElements)
 
 getMemberJoinFormCode ($sParams='')
 
 getMemberLoginFormCode ($sID='member_login_form', $sParams='')
 
 getMemberAuthCode ($sTitleKey='')
 

Variables

 $db_color_index = 0
 
 $_page ['js'] = 1
 
 $oZ = new ChWsbAlerts('system', 'design_included', 0)
 

Function Documentation

◆ AdvMsgBox()

AdvMsgBox (   $sText,
  $aOptions = array() 
)

Definition at line 180 of file design.inc.php.

◆ DesignBoxContent()

DesignBoxContent (   $title,
  $content,
  $db_num = 0,
  $caption_item = '',
  $bottom_item = '' 
)

Output "design box" HTML code $title - title text $content - content $db_num - number of design box template $caption_item - item to put at the box top

Definition at line 78 of file design.inc.php.

◆ DesignProgress()

DesignProgress (   $text,
  $width,
  $percent,
  $progress_num,
  $id = '' 
)

Put design progress bar code $text - progress bar text $width - width of progress bar in pixels $percent - current position of progress bar in percents

Definition at line 56 of file design.inc.php.

◆ DesignProgressPos()

DesignProgressPos (   $text,
  $width,
  $max_pos,
  $curr_pos,
  $progress_num = '1' 
)

Put design progress bar code $text - progress bar text $width - width of progress bar in pixels $max_pos - maximal position of progress bar $curr_pos - current position of progress bar

Definition at line 44 of file design.inc.php.

◆ genAjaxyPopupJS()

genAjaxyPopupJS (   $iTargetID,
  $sDivID = 'ajaxy_popup_result_div',
  $sRedirect = '' 
)

Definition at line 242 of file design.inc.php.

◆ get_member_icon()

get_member_icon (   $ID,
  $float = 'none',
  $bGenProfLink = false 
)

Definition at line 170 of file design.inc.php.

◆ get_member_thumbnail()

get_member_thumbnail (   $ID,
  $float,
  $bGenProfLink = false,
  $sForceSex = 'visitor',
  $aOnline = array() 
)

Definition at line 165 of file design.inc.php.

◆ getBlockWidth()

getBlockWidth (   $iAllWidth,
  $iUnitWidth,
  $iNumElements 
)

Definition at line 266 of file design.inc.php.

◆ getFieldValues()

getFieldValues (   $sField,
  $sUseLKey = 'LKey' 
)

Definition at line 128 of file design.inc.php.

◆ getMemberAuthCode()

getMemberAuthCode (   $sTitleKey = '')

Definition at line 397 of file design.inc.php.

◆ getMemberJoinFormCode()

getMemberJoinFormCode (   $sParams = '')

Definition at line 276 of file design.inc.php.

◆ getMemberLoginFormCode()

getMemberLoginFormCode (   $sID = 'member_login_form',
  $sParams = '' 
)

Definition at line 317 of file design.inc.php.

◆ getSiteStatUser()

getSiteStatUser ( )

Definition at line 226 of file design.inc.php.

◆ getTemplateIcon()

getTemplateIcon (   $sFileName)

Definition at line 193 of file design.inc.php.

◆ getTemplateImage()

getTemplateImage (   $sFileName)

Definition at line 198 of file design.inc.php.

◆ getVersionComment()

getVersionComment ( )

Definition at line 203 of file design.inc.php.

◆ LoadingBox()

LoadingBox (   $sName)

Definition at line 185 of file design.inc.php.

◆ MsgBox()

MsgBox (   $sText,
  $iTimer = 0 
)

Definition at line 175 of file design.inc.php.

◆ PageCode()

PageCode (   $oTemplate = null)

Output code for the page

Definition at line 91 of file design.inc.php.

◆ PopupBox()

PopupBox (   $sName,
  $sTitle,
  $sContent,
  $aActions = array() 
)

Definition at line 189 of file design.inc.php.

◆ SelectOptions()

SelectOptions (   $sField,
  $sDefault = '',
  $sUseLKey = 'LKey' 
)

return code for "SELECT" html element $fieldname - field name for wich will be retrived values $default - default value to be selected, if empty then default value will be retrived from database

Definition at line 114 of file design.inc.php.

◆ send_headers_page_changed()

send_headers_page_changed ( )

Use this function in pages if you want to not cache it.

Definition at line 99 of file design.inc.php.

◆ spacer()

spacer (   $width,
  $height 
)

Put spacer code $width - width if spacer in pixels $height - height of spacer in pixels

Definition at line 32 of file design.inc.php.

Variable Documentation

◆ $_page

$_page[ 'js'] = 1

Definition at line 24 of file design.inc.php.

◆ $db_color_index

$db_color_index = 0

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 22 of file design.inc.php.

◆ $oZ

$oZ = new ChWsbAlerts('system', 'design_included', 0)

Definition at line 432 of file design.inc.php.