If You want a questionform like mine on http://www.questions.com.mx You can use this code:
You just have to change the classes as You like. Question Box will appear on homepage only. Was build thanks to gidgreen and R .
Code goes after :
function main()
{
$content=$this->content;
$this->output('<DIV CLASS="qa-main'.(@$this->content['hidden'] ? ' qa-main-hidden' : '').'">');
HERE GOES THE CODE
// Questionbox on home START
if ($this->template=='') {
$this->output('<DIV CLASS="qa-main-fragebox">');
$this->output(
'<FORM METHOD="POST" ACTION="/ask/">
<table class="qa-form-tall-table">
<tbody>
<tr><td class="qa-form-tall-label" colspan="2">Just ask - no need to register !</td>
</tr>
<tr>
<td class="qa-form-tall-data" colspan="2">
<textarea id="title" NAME="title" rows="3" cols="60" class="qa-form-tall-text" onfocus="this.value=\'\'; this.style.color=\'#000000\'; this.onfocus=null;" >Enter Your question here...</textarea>
</td>
</tr>
<tr>
<td>
<div class="qa-form-tall-note">Provide more detailed information on the next page.</div>
</td>
<td><INPUT NAME="doask1" title="" VALUE="ASK" onmouseout="this.className=\'qa-form-tall-button qa-form-tall-button-ask\';" onmouseover="this.className=\'qa-form-tall-hover qa-form-tall-hover-ask\';" class="qa-form-tall-button qa-form-tall-button-ask" TYPE="submit"></td>
</tr>
</tbody>
</table>
</FORM>'
);
$this->output('</DIV>');
}
else{
}
// Question Box on home END