To find which disk server has booted from :
# echo ‘boot_string/S’|adb /stand/vmunix /dev/mem
To check if you have any other boot disks:
# lvlnboot -v
To find which disk server has booted from :
# echo ‘boot_string/S’|adb /stand/vmunix /dev/mem
To check if you have any other boot disks:
# lvlnboot -v
Some times its becomes difficult from the visitors point of view how many post you have on your site for each of the categories.
If you want to add the custom drop down code which will display total number of posts next to it.
<form action=”<?php bloginfo(’url’); ?>/” method=”get”>
<?php
$select = wp_dropdown_categories(’show_option_none=Quick Jump&show_count=1&orderby=name&echo=0′);
$select = preg_replace(”#<select([^>]*)>#”, “<select$1 onchange=’return this.form.submit()’>”, $select);
echo $select;
?>
<noscript><input type=”submit” value=”View” /></noscript>
</form>
If you are looking for adding total number of posts in your
wordpress blog, you can use this code.
————— This can be added with a link —————
<?php
$numposts = $wpdb->get_var(”SELECT COUNT(*) FROM $wpdb->posts
WHERE post_status = ‘publish’”); if (0 < $numposts) $numposts = number_format($numposts);
$numcomms = $wpdb->get_var(”SELECT COUNT(*)
FROM $wpdb->comments
WHERE comment_approved = ‘1′”);
if (0 < $numcomms) $numcomms = number_format($numcomms);
$numcats = $wpdb->get_var(”SELECT COUNT(*)
FROM $wpdb->categories”);
if (0 < $numcats) $numcats = number_format($numcats); ?>
<p><?php printf(__(’There are currently %1$s <a href=”%2$s”
title=”Posts”>posts</a> and %3$s <a href=”%4$s”
title=”Comments”>comments</a>, contained within %5$s
<a href=”%6$s” title=”categories”>categories</a>.’),
$numposts, ‘edit.php’, $numcomms, ‘edit-comments.php’,
$numcats, ‘categories.php’); ?></p>
————— This can be added without a link ————-
<?php
$numposts = $wpdb->get_var(”SELECT COUNT(*) FROM $wpdb->posts
WHERE post_status = ‘publish’”);
if (0 < $numposts) $numposts = number_format($numposts);
$numcomms = $wpdb->get_var(”SELECT COUNT(*)
FROM $wpdb->comments WHERE comment_approved = ‘1′”);
if (0 < $numcomms) $numcomms = number_format($numcomms);
$numcats = $wpdb->get_var(”SELECT COUNT(*)
FROM $wpdb->categories”);
if (0 < $numcats) $numcats = number_format($numcats); ?>
<p>
<?php printf(__(’There are currently %1$s Free Games to Play</a>.’),
$numposts, ‘edit.php’, $numcomms, ‘edit-comments.php’,
$numcats, ‘categories.php’); ?></p>
————————————————————
Let me know if you like it.
| TOP domains for sale |
| finances.com |
| Make offer |
| ts.com |
| 650.000 $US |
| winter.com |
| Make offer |
| eur.com |
| Make offer |
| sex.co.uk |
| Make offer |
| travelvegas.com |
| Make offer |
| mocast.com |
| 90.000 $US |
| cured.com |
| Make offer |
| webserver.com |
| Make offer |
| snowballs.com |
| Make offer |
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | Nov » | |||||
| 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 | |