Syntax Example

From WHMCS Documentation

Revision as of 21:59, 28 November 2015 by Matt (talk | contribs)

Text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Icons

<i class="fa fa-wrench"></i> <i class="fa fa-gear"></i> <i class="fa fa-cube"></i>

See https://fortawesome.github.io/Font-Awesome/icons/ for a full list of possible icon values.

Pre-formatted Text

Some preformatted text

Standout Text

<div class="docs-related-pages">Text inside here will be centered. Use this to include links to related pages.</div>

Alerts

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-success">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-info">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-warning">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-danger">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

Tables

Field Title Another Field
Row 1 Some value
Row 2 Another value
<table class="table table-striped">
<tr>
<td>'''Field Title'''</td>
<td>'''Another Field'''</td>
</tr>
<tr>
<td>Row 1</td>
<td>Some value</td>
</tr>
<tr>
<td>Row 2</td>
<td>Another value</td>
</tr>
</table>
Field Title Another Field
Row 1 Some value
Row 2 Another value
<table class="table table-bordered">
<tr>
<td>'''Field Title'''</td>
<td>'''Another Field'''</td>
</tr>
<tr>
<td>Row 1</td>
<td>Some value</td>
</tr>
<tr>
<td>Row 2</td>
<td>Another value</td>
</tr>
</table>

Columns

2 Columns

Column 1 text goes here...

Column 2 text goes here...

<div class="row">
<div class="col-sm-6">
Column 1 text goes here...
</div>
<div class="col-sm-6">
Column 2 text goes here...
</div>
</div>

3 Columns

Column 1 text goes here...

Column 2 text goes here...

Column 3 text goes here...

<div class="row">
<div class="col-sm-4">
Column 1 text goes here...
</div>
<div class="col-sm-4">
Column 2 text goes here...
</div>
<div class="col-sm-4">
Column 3 text goes here...
</div>
</div>

Lists

  • This is a list
    • This is a list
    • This is a list
  • This is a list
  • This is a list
  1. This is a numbered list
  2. This is a numbered list
    1. This is a numbered list
    2. This is a numbered list
    3. This is a numbered list

PHP Source Code

<?php
$license = 'Dev-123456789';
$db_host = 'localhost';
$db_username = 'root';
$db_password = 'whmcs';
$db_name = 'whmcs';
$cc_encryption_hash = 'e07U55KUy40y38PWPfyXLPDQXG3P7TkcJhWEdwoCqf0keG7TLvHmaa2XHWCFGNHf';
$templates_compiledir = 'templates_c/';
$mysql_charset = 'utf8';

date_default_timezone_set('Europe/London');

define('DEMO_MODE', true);

//$display_errors = true;