author | ymh <ymh.work@gmail.com> |
Mon, 22 Mar 2010 16:36:28 +0100 | |
changeset 5 | ac511f1ccc8e |
parent 1 | 0d28b7c10758 |
permissions | -rw-r--r-- |
1 | 1 |
<?php |
2 |
global $post_details, $my_id; |
|
3 |
require_once("../../../../wp-blog-header.php"); |
|
4 |
require_once("ocmx-create-options.php"); |
|
5 |
if($_GET['small_ads']) : |
|
6 |
update_option("ocmx_small_ads", $_GET["small_ads"]); |
|
7 |
for($i = 1; $i <= get_option("ocmx_small_ads"); $i++) |
|
8 |
{small_ad_form($i);} |
|
9 |
endif; |
|
10 |
?> |