Location: PHPKode > projects > Write2Left > Skin/Import.php
<?php
/*
+------------------------------------------------------
| Write2Left
| (c) timdorr
| http://www.write2left.com
| hide@address.com
| See License.txt for license info
|------------------------------------------------------
| Script: Import.php
| Description:
|   Contains part of the interface's skin's default output parts
| Created Jul-09-2003
+------------------------------------------------------
*/

/* Class: Skin_Import
 * Description:
 *   The generic skin parts class.
 */
class Skin_Import
{
	function body_top()
	{
		return <<<EOF
<td class="main" valign="top">

<big><b>Import / Export Skins</b></big>
<br /><br />
	
EOF;
	}
	
	function body_bottom()
	{
		return <<<EOF
</td>

<td class="space">&nbsp;</td>
</tr>		
EOF;
	}
	
	function import_form( $logs )
	{
		return <<<EOF
<form action="?Action=Import&amp;M=doimport" method="POST" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="8000000">
<b>Import a file:</b><br /><br />
Import Into Weblog:<br />
<select name="log_id">
$logs
</select>
<br/>
File Type:<br />
<select name="type">
<option value="mt">Moveable Type</option>
</select>
<br />
File:<br />
<input type="file" name="importfile"><br />
<br />
<input type="submit" value="Import File" />
</form>		
EOF;
	}
}

?>
Return current item: Write2Left