AvinuSuper easy to use! No programming, just drag & drop! Tons of features!

Avinu - The CMS for modern 2017 web applications

AvinuCode

To use any AvinuCode commands simply wrap the command between <? and ?>

<? formdata::NAME_OF_YOUR_FORM(PRINT_TEMPLATE) ?>

Print out the user-submitted form data. NAME_OF_YOUR_FORM is the name that you gave the form when you created the form unit. PRINT_TEMPLATE is how the data for each record should be displayed- HTML is enabled and to display any field of data you simply type a dollar sign $ and then the name of the field. Example: to display name and telephone fields in a form called "users" you would use:

<? formdata::users(<h2>Your name: $name</h2><div>Your phone: $telephone</div>) ?>

<? email(EMAIL_ADDRESS) ?>

Encodes your email address to prevent it from being harvested by spammers. The appearance is that of a normal email-link, but your email address will not appear in the source code.

<? email(cannot@sendspam.com) ?>

<? $_GET(VARIABLE_NAME) ?>

Accesses the query string variables. On page with URL /mypage?ref=google you would access the "ref" variable via: <? $_GET(ref) ?>

This operates just like $_GET in PHP, except uses parenthesis () instead of square-brackets [] and there is no need to put quotes around the variable name.

<? $url ?>

URL of the current page

<? $ip ?>

IP address of the user

<? counter(ID) ?>

Displays a counter. Including an ID is optional, if ommitted this counter will be a page-specific counter. By including a unique ID of your choosing you can maintain the counter-count accross pages in site-wide and section-wide units as well as have more than one counter maintaining the same count.

<? counter() ?>
<? counter(videoPages) ?>

<? $title ?>

Page title as set in the page-settings, if no title is set this will use the site title

<? $keywords ?>

Page keywords as set in the page-settings

<? $description ?>

Page description as set in the page-settings