Home > CSS, PHP > Social Engine Small Fix

Social Engine Small Fix

January 20th, 2010

Hello,

I have 2 pages:
signup.tpl
signup.php

I have attached both files.

In the template file by line 484 you will see this:

<select name=’signup_cat’>
<option value=’10′>{lang_print id=2003}</option>
<option value=’20′>{lang_print id=2004}</option>
<option value=’30′>{lang_print id=2005}</option>
<option value=’40′>{lang_print id=2006}</option>
<option value=’50′>{lang_print id=2007}</option>
</select>

This is as you can see hardcodes in the template file.

What i want is that these values will be held from the database:
Databasetable : se_account_vorm
table fields: id, accountorm, langid

Can someone tell me who?
If its unclear just let me know

BTW: for really good social engine coders there will be more work.


Social Engine Small Fix

Categories: CSS, PHP Tags: , , , , , ,
Comments are closed.
Bear