PasteSite.Com

Recent Pastes

Sign Up!

PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...

Change the theme

If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?
    if(isset($_POST[flx])){
            $cinfo = explode("|", $_POST[SelectCategory]);
            $CategoryID = $cinfo[0];
            $author = mysql_real_escape_string($_POST['author']);
            $category = mysql_real_escape_string($_POST['category']);
            $theme_name = mysql_real_escape_string($_POST['theme_name']);
            $description = mysql_real_escape_string($_POST['description']);        
            $screenshot = mysql_real_escape_string($_POST['screenshot']);
            $download = mysql_real_escape_string($_POST['download_url']);
            $date = date("d/m/y"); 
            $demo = mysql_real_escape_string($_POST['demo']);
        
                            $ic_query = "INSERT INTO themes SET 
                        author = '$author',
                        authors_email = 'Admin Submitted Theme',
                        rating = '1',
                        category = '$category',
                        theme_name = '$theme_name',
                        description = '$description',                    
                        screenshot_url = '$screenshot',
                        download_url = '$download',
                        approved = '1',
                        date_added = '$date',
                        demo = '$demo'";
                        
        mysql_query($ic_query);
        
        if(!mysql_error()){
         
            $last = mysql_insert_id();
            
            echo "Theme has been added, you made need to approve it by clicking on the link in the menu...<a href='index.php?action=add_theme'>Add another theme?</a>";
            exit;
    
            $error = "<br>There has been a error whist trying to add a theme, please go back and recheck your input fields.";
        
        }
    }
    
?>
 
<br>
<h3>Add theme...</h3>
<!-- add item form -->
<form method=post name=dk enctype="multipart/form-data" OnSubmit="return CheckItem();">
  <table align=center width=100%>
    <caption align=center>
 
    <?=$error?>
    </caption>
            <tr> 
      <td align=right>Author:</td>
      <td> 
        <input type=text name=author style="width:230px; border-collapse:collapse;">
      </td>
    </tr>
    <tr> 
      <td align=right>Category:</td>
      <td> 
        <?=CategorySelect($CategoryID);?>
      </td>
    </tr>
        <tr> 
      <td align=right>Theme Name:</td>
      <td> 
             <input type=text name=theme_name style="width:230px; border-collapse:collapse;">
      </td>
    </tr>
    <tr> 
      <td align=right>Description:</td>
      <td> 
             <textarea type=text name=description cols="23" rows="3" style="width:230px; border-collapse:collapse;"></textarea>
      </td>
    </tr>
    <tr> 
      <td align=right>ScreenShot URL:</td>
      <td> 
             <input type=text name=screenshot style="width:230px; border-collapse:collapse;">
      </td>
    </tr>
    <tr> 
      <td align=right>Download URL:</td>
      <td> 
             <input type=text name=download_url style="width:230px; border-collapse:collapse;">
      </td>
    </tr>
 
    <tr> 
      <td align=right>Demo:</td>
      <td> 
             <input type=text name=demo style="width:230px; border-collapse:collapse;"> (DO NOT USE http://)
      </td>
    </tr>
 
    <tr> 
      <td></td>
      <td><input type=submit name=flx value="Submit Theme"></td>
    </tr>
  </table>
</form>
 
<br>

Reply to This Paste

(leave blank to make this paste permanent)
(if set as private)