get_smilies ()

function get_smilies ($f_id, $i_id)

Display list of smilies and the clickable images.

$f_id = form ID.

$i_id = field ID.

Example 1. list.tpl

<h1>Welcome to test page!</h1>
<form name="myform">
<p>Enter name: <input type="text" /></p>
<p>Comments: <textarea name="comment"></textarea></p>
{$smilies}
</form>

list.php

<?php
require './includes/user_init.php';

$tpl = load_tpl ('test.tpl');
$txt['smilies'] = get_smilies ('myform', 'comment');
$txt['main_body'] = quick_tpl ($tpl, $txt);
flush_tpl ();
?>

Posted On: Aug-24-2010 @ 07:00am
Last Updated: Jan-01-1970 @ 07:00am

There is no comment. Why not be the first?

More Comments/Post Your Own

Advertisement

Online Users

There are 4 users online.

Connect

Connect with us on Facebook

Newsletter

Subscribe to our newsletter for the latest updates and exciting promotions!