<html>
<head>
<title>{$site_name}</title>
<mets http-equiv=Content-Type content="text/html; charset=utf-8">
<link href="{$cssurl}/administrator.css" type=text/css rel=stylesheet>

</head>
<body>
<br>

<form name='settings' action='settings.php' method='POST'>

	<table width="90%" align="center" cellpadding="5" cellspacing="5">
    <tr>
    	<td colspan="2">
        	<h3>General Settings</h3>
        </td>
    </tr>
    
    <tr>
    	<td colspan="2" height="1" bgcolor="#dfdfdf"></td>
    </tr>

    <tr>
    	<td width="40%">
        <b>Website Name</b>
        </td>
        <td>
        <input name='site_name' value='{$site_name}' size="40">
        </td>
    </tr>
    <tr>
            <td width="40%">
            <b>Send E-mails From</b>
            </td>
            <td>
            <input name='site_email' value='{$site_email}' size="40">
            </td>
    </tr>
    <tr>
            <td width="40%"><b>Videos Per Page</b></td>
            <td>
            <input name='items_per_page' value='{$items_per_page}' size="40">
            </td>
    </tr>
    <tr>
            <td width="40%"><b>Series Per Page</b></td>
            <td>
            <input name='series_per_page' value='{$series_per_page}' size="40">
            </td>
    </tr>
    <tr>
            <td width="40%"><b>Maximum comments to show on view media pages?</b></td>
            <td>
            <input name='max_comments' value='{$max_comments}' size="40">
            </td>
    </tr>
    <tr>
            <td width="40%"><b>Maximum comments to show on main profile page?</b></td>
            <td>
            <input name='max_comments_profile' value='{$max_comments_profile}' size="40">
            </td>
    </tr>
    <tr>
            <td width="40%"><b>Maximum videos being viewed right now to show?</b></td>
            <td>
            <input name='max_viewing_now' value='{$max_viewing_now}' size="40">
            </td>
    </tr>
    <tr>
            <td width="40%"><b>Allow Video Downloads</b></td>
            <td>
            <input type="radio" value="1" name="downloads" id="downloads" {$allowdownloadsyes}>Yes&nbsp;&nbsp;&nbsp;
            <input type="radio" value="0" name="downloads" id="downloads" {$allowdownloadsno}>No
            </td>
    </tr>
    <tr>
            <td width="40%"><b>Who Can Download Videos</b></td>
            <td>
            <input type="radio" value="1" name="whodownloads" id="whodownloads" {$whoallowdownloadsyes}>Members Only&nbsp;&nbsp;&nbsp;
            <input type="radio" value="0" name="whodownloads" id="whodownloads" {$whoallowdownloadsno}>Anyone
            </td>
    </tr>
    
    <tr>
            <td colspan="2" align='center'>
            <input type='submit' name='submit' value='Update'>
            </td>
    </tr>
    <tr>
            <td colspan="2">&nbsp;</td>
    </tr>
    </table>
    </form>

</body>
</head>
</html>