예제 #1
0
							<?php 
            ($hook = get_hook('admin_browse_browse_links_table_cell_footer')) ? eval($hook) : null;
            ?>
						</td>
						<?php 
            ($hook = get_hook('admin_links_row_tbody_tr_footer')) ? eval($hook) : null;
            ?>
					</tr>
					<?php 
            ($hook = get_hook('admin_browse_links_row')) ? eval($hook) : null;
        }
        ?>
				</tbody>
			</table>
			<?php 
        echo link_pagination($links_result, $req_page, 'admin_browse.php?id=' . $req_id . '&amp;page=#p');
    } else {
        echo NO_LINKS_HERE;
        ($hook = get_hook('admin_browse_no_links')) ? eval($hook) : null;
    }
    ($hook = get_hook('admin_browse_after_sql_if')) ? eval($hook) : null;
    ?>
		<br />
		<a href="admin_browse.php?add_link=<?php 
    echo $req_id;
    ?>
&amp;category=<?php 
    echo isset($_REQUEST['category']) ? openld_htmlspecialchars($_REQUEST['category']) : 'root';
    ?>
"><?php 
    echo ADD_LINK_LABEL;
예제 #2
0
				<a href="admin_links.php?unaccept_link=<?php 
            echo $links['id'];
            ?>
'&amp;page=<?php 
            echo $req_page;
            ?>
"><?php 
            echo UNACCEPT_LABEL;
            ?>
</a>
				<?php 
            ($hook = get_hook('admin_links_row_footer')) ? eval($hook) : null;
            ?>
			</td>
			<?php 
            ($hook = get_hook('admin_links_row_tbody_tr_footer')) ? eval($hook) : null;
            ?>
		</tr>
		<?php 
        }
        ?>
	</tbody>
</table>
<?php 
        echo link_pagination($links_result, $req_page, 'admin_links.php?page=#p');
    } else {
        echo NO_LINKS_HERE;
        ($hook = get_hook('admin_links_no_links')) ? eval($hook) : null;
    }
    ($hook = get_hook('admin_links_after_sql_if')) ? eval($hook) : null;
}
예제 #3
0
        ?>
 <?php 
        echo $links['date_submitted'];
        ?>
								<?php 
        ($hook = get_hook('link_row_footer')) ? eval($hook) : null;
        ?>
							</td>
						</tr>
					<?php 
    }
    ?>
					<?php 
    ($hook = get_hook('links_after_while')) ? eval($hook) : null;
    ?>
				</tbody>
			</table>
			<?php 
    echo link_pagination($link_result, $req_page, 'index_cat_page', se_index_cat(array('id' => $req_id, 'title' => $req_cat)));
    ?>
		<?php 
} else {
    echo NO_LINKS_HERE;
}
?>
		<?php 
($hook = get_hook('links_after_first_if')) ? eval($hook) : null;
?>
	</div>
</div>
&amp;page=<?php 
            echo $req_page;
            ?>
"><?php 
            echo DELETE_LABEL;
            ?>
</a>
									<?php 
            ($hook = get_hook('admin_accept_links_cell_footer')) ? eval($hook) : null;
            ?>
								</td>
							</tr>
							<?php 
            ($hook = get_hook('admin_accept_links_suggested_row')) ? eval($hook) : null;
        }
        ?>
						</tbody>
					</table>
					<?php 
        echo link_pagination($result, $req_page, 'admin_accept_links.php?page=#p');
    } else {
        echo NO_LINKS_HERE;
        ($hook = get_hook('admin_accept_links_no_links')) ? eval($hook) : null;
    }
    ($hook = get_hook('admin_accept_links_after_sql_if')) ? eval($hook) : null;
    ?>
			</div>
		</div>
	</div>
<?php 
}
            ?>
&amp;page=<?php 
            echo $req_page;
            ?>
"><?php 
            echo UNACCEPT_LABEL;
            ?>
</a>
								<?php 
            ($hook = get_hook('admin_categories_list_footer')) ? eval($hook) : null;
            ?>
							</td>
						</tr>
						<?php 
        }
        ?>
					</tbody>
				</table>
				<?php 
        echo link_pagination($result, $req_page, 'admin_categories.php?page=#p');
    } else {
        echo NO_CATEGORIES_HERE;
        ($hook = get_hook('admin_categories_no_categories')) ? eval($hook) : null;
    }
    ($hook = get_hook('admin_categories_after_sql_if')) ? eval($hook) : null;
    ?>
		</div>
	</div>
</div>
<?php 
}
예제 #6
0
        ?>
						<?php 
        ($hook = get_hook('search_result_rows_footer')) ? eval($hook) : null;
        ?>
					</td>
				</tr>
				<?php 
    }
    ?>
				<?php 
    ($hook = get_hook('search_results_tbody_footer')) ? eval($hook) : null;
    ?>
			</tbody>
		</table>
		<?php 
    echo link_pagination($search_results, $req_page, 'search_page', se_search($_GET));
    ?>
	</div>
</div>
<?php 
} elseif (isset($_GET['term']) && $db->num_rows($search_results) == 0) {
    ?>
<div class="openld-block openld-form">
	<h2>
		<span>
			<?php 
    echo SERCHED_FOR_LABEL;
    ?>
 "<?php 
    echo openld_htmlspecialchars($_GET['term']);
    ?>