edit for index


top:
PHP Code: 
<?php
include "funcs.php";
$downloads $core->fetchDownloads();
?>
download:
PHP Code: 
<table width="100%" border="0">
        <tr><td>Type</td><td><strong>Title</strong></td><td>Views</td><td>Rating</td></tr>
        <?php
        
foreach($downloads as $dl) {
        
?>
        <tr><td><?=$dl['type']?></td><td><a href="download.php?id=<?=$dl['id']?>"><?=$dl['title']?></a></td><td><?=$dl['views']?></td><td><?=$dl['rating']?></td></tr>
        <?php
        
}
        
?>
        <tr><td colspan="4">
        <?php
        
echo $core->pageHTML($core->pageList);
        
?>
        </td></tr>
        </table>
end:
PHP Code: 
<?php
$core
->modules(ob_get_contents());
?>




submit page.


top:
PHP Code: 
<?php
include "funcs.php";
    if(isset(
$_POST) && !empty($_POST))
        
$sub_success $core->doSubmit();
?>
submit:
PHP Code: 
<form action="" method="post">
                <table width="100%" border="0">
                <tr><td><small>Title</small></td><td><small>URL</small></td><td><small>Type</small></td></tr>
                <?php
                
for($i=1;$i<=10;$i++) {
                
?>
                <tr><td><input type="text" name="title[]" /></td><td><input type="text" name="url[]" /></td><td><select name="type[]">
                <?php
                
foreach($core->allowed_types as $at) {
                    echo 
'<option value="'.$at.'">'.$at.'</option>';
                }
                
?>
                </select></td></tr>
                <?php
                
}
                
?>
                <tr><td><small>Site Name</small></td><td><small>Site URL</small></td><td>&nbsp;</td></tr>
                <tr><td><input type="text" name="sname" /></td><td><input type="text" name="surl" /></td><td>&nbsp;</td></tr>
                <tr><td><small>Email</small></td><td>&nbsp;</td><td>&nbsp;</td></tr>
                <tr><td><input type="text" name="email" /></td><td>&nbsp;</td><td>&nbsp;</td></tr>
                <tr><td colspan="3" align="center"><input type="submit" value="Submit Downloads" /></td></tr>
                <tr><td colspan="3" align="center" style="color:#FF0000;"><?=$core->error?></td></tr>
                <tr><td colspan="3" align="center" style="color:green;"><?=$sub_success?></td></tr>
                </table>
                </form>
end:
PHP Code: 
<?php
$core
->modules(ob_get_contents());
?>
Recent Searches
for both pages
PHP Code: 
<?=$core->templateVar("recentSearches")?>
and this is all thats need to update 1 of my skin's or any wcddl (v1 - v2) skin.