Difference between revisions of "Syntax Example"

From WHMCS Documentation

(Tables)
Line 36: Line 36:
  
 
<table class="table table-striped">
 
<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>
 +
 +
<table class="table table-bordered">
 
<tr>
 
<tr>
 
<td>'''Field Title'''</td>
 
<td>'''Field Title'''</td>

Revision as of 18:23, 12 November 2015

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.

Pre-formatted Text

Some preformatted text

Standout Text

Alerts

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

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

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

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

Tables

Field Title Another Field
Row 1 Some value
Row 2 Another value
Field Title Another Field
Row 1 Some value
Row 2 Another value

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;