linkcategories and output it as table * * Parameters: * order (default 'name') - Sort link categories by 'name' or 'id' * hide_if_empty (default true) - Supress listing empty link categories * table_witdh (default 100) - Width of table, percentage * num_columns (default 1) - Number of columns in table * catanchor (default false) - Determines if links to generated anchors should be created */ function get_links_cats_anchor($order = 'name', $hide_if_empty = 'obsolete', $table_width = 100, $num_columns = 1, $catanchor = false) { global $wpdb; $countcat = 0; $order = strtolower($order); // Handle link category sorting $direction = 'ASC'; if (substr($order,0,1) == '_') { $direction = 'DESC'; $order = substr($order,1); } if (!isset($direction)) $direction = ''; // Fetch the link category data as an array of hashesa $cats = get_categories("type=link&orderby=$order&order=$direction&hierarchical=0"); // Display each category if ($cats) { echo '
'; echo ''."\n"; foreach ( (array) $cats as $cat) { // Handle each category. // First, fix the sort_order info //$orderby = $cat['sort_order']; //$orderby = (bool_from_yn($cat['sort_desc'])?'_':'') . $orderby; // Display the category name $countcat += 1; if (($countcat % $num_columns == 1) or ($countcat == 1) ) echo "\n"; $catfront = ' \n"; echo ($catfront . $cattext . $catitem); if ($countcat % $num_columns == 0) echo "\n"; } } if (($countcat % $num_columns = 3) or ($countcat == 1)) echo "\n"; echo "
cat_name . '" '; else $cattext = ''; $catitem = '>' . $cat->cat_name . "
\n"; echo "
\n"; } /** function get_links_notes() ** Gets the links associated with category n. ** Parameters: ** category (default -1) - The category to use. If no category supplied ** uses all ** before (default '') - the html to output before the link ** after (default '
') - the html to output after the link ** between (default ' ') - the html to output between the link/image ** and it's description. Not used if no image or show_images == true ** show_images (default true) - whether to show images (if defined). ** orderby (default 'id') - the order to output the links. E.g. 'id', 'name', ** 'url', 'description', or 'rating'. Or maybe owner. If you start the ** name with an underscore the order will be reversed. ** You can also specify 'rand' as the order which will return links in a ** random order. ** show_description (default true) - whether to show the description if ** show_images=false/not defined . ** show_rating (default false) - show rating stars/chars ** limit (default -1) - Limit to X entries. If not specified, all entries ** are shown. ** show_updated (default 0) - whether to show last updated timestamp ** show_notes - determines if notes should be displayed in addition to description ** show_image_and_name (default false) - Show both image and name instead of only one or the other ** use_html_tags (default false) - Use HTML tags for formatting instead of just displaying them ** show_rss (default false) - Display RSS URI if available in link description ** beforenote (default
) - Code to print out between the description and notes */ function get_links_notes($category = '', $before = '', $after = '
', $between = ' ', $show_images = true, $orderby = 'name', $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $show_notes = false, $show_image_and_name = false, $use_html_tags = false, $show_rss = false, $beforenote = '
', $echo = true ) { global $wpdb; $order = 'ASC'; if ( substr($orderby, 0, 1) == '_' ) { $order = 'DESC'; $orderby = substr($orderby, 1); } if ( $category == -1 ) //get_bookmarks uses '' to signify all categories $category = ''; $results = get_bookmarks("category=$category&orderby=$orderby&order=$order&show_updated=$show_updated&limit=$limit"); if ( !$results ) return; $output = ''; foreach ( (array) $results as $row) { if (!isset($row->recently_updated)) $row->recently_updated = false; $output .= $before; if ($show_updated && $row->recently_updated) $output .= get_option('links_recently_updated_prepend'); $the_link = '#'; if (!empty($row->link_url) ) $the_link = wp_specialchars($row->link_url); $rel = $row->link_rel; if ('' != $rel ) $rel = ' rel="' . $rel . '"'; if ($use_html_tags) { $descnotes = $row->link_notes; } else { $descnotes = wp_specialchars($row->link_notes, ENT_QUOTES); } $desc = wp_specialchars($row->link_description, ENT_QUOTES); $name = wp_specialchars($row->link_name, ENT_QUOTES); $title = $desc; if ($show_updated) { if (substr($row->link_updated_f,0,2) != '00') { $title .= ' ('.__('Last updated') . ' ' . date(get_option('links_updated_date_format'), $row->link_updated_f + (get_option('gmt_offset') * 3600)) .')'; } } if ('' != $title) $title = ' title="' . $title . '"'; $alt = ' alt="' . $name . '"'; $target = $row->link_target; if ('' != $target) $target = ' target="' . $target . '"'; $output .= ''; if ( $row->link_image != null && $show_images ) { if ( strpos($row->link_image, 'http') !== false ) $output .= "link_image\" $alt $title />"; else // If it's a relative path $output .= "link_image\" $alt $title />"; } else { $output .= $name; } $output .= ''; if ($show_updated && $row->recently_updated) { $output .= get_option('links_recently_updated_append'); } if ($use_html_tags) { $desc = $row->link_description; } else { $desc = wp_specialchars($row->link_description, ENT_QUOTES); } if ($show_description && ($desc != '')) $output .= $between . $desc; if ($show_notes && ($descnotes != '')) { $output .= $beforenote . $between . $descnotes; } if ($show_rss && ($row->link_rss != '')) { $output .= $between . 'RSS'; } $output .= "$after\n"; } // end while if ( !$echo ) return $output; echo $output; } /* * function get_links_anchor() * * added by Yannick Lefebvre * * Output a list of all links, listed by category, using the * settings in $wpdb->linkcategories and output it as a nested * HTML unordered list. Can also insert anchors for categories * * Parameters: * order (default 'name') - Sort link categories by 'name' or 'id' * hide_if_empty (default true) - Supress listing empty link categories * catanchor (default false) - Adds name anchors to categorie links to be able to link directly to categories\ * showdescription (default false) - Displays link descriptions. Added for 2.1 since link categories no longer have this setting * shownotes (default false) - Shows notes in addition to description for links (useful since notes field is larger than description) * showrating (default false) - Displays link ratings. Added for 2.1 since link categories no longer have this setting * showupdated (default false) - Displays link updated date. Added for 2.1 since link categories no longer have this setting * categorylist (default null) - Only show links inside of selected categories. Enter category numbers in a string separated by commas * showimages (default false) - Displays link images. Added for 2.1 since link categories no longer have this setting * show_image_and_name (default false) - Show both image and name instead of only one or the other * use_html_tags (default false) - Use HTML tags for formatting instead of just displaying them * show_rss (default false) - Display RSS URI if available in link description * beforenote (default
) - Code to print out between the description and notes */ function get_links_anchor_notes($order = 'name', $hide_if_empty = 'obsolete', $catanchor = false, $showdescription = false, $shownotes = false, $showrating = false, $showupdated = false, $categorylist = '', $show_images = false, $show_image_and_name = false, $use_html_tags = false, $show_rss = false, $beforenote = '
') { global $wpdb; $order = strtolower($order); // Handle link category sorting $direction = 'ASC'; if ('_' == substr($order,0,1)) { $direction = 'DESC'; $order = substr($order,1); } if ($categorylist != '') $catsearch = ' AND link_category in (' . $categorylist . ') '; else $catsearch = ''; if (!isset($direction)) $direction = ''; // Fetch the link category data as an array of hashesa $cats = get_categories("type=link&orderby=$order&order=$direction&hierarchical=0"); // Display each category if ($cats) { echo '\n"; } } ?> Your Little Words - Part 3
 
Your Little Words

 

February 2012
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
272829  

Recent Posts


Write

his own worst enemies / beautiful

February 8th, 2009 by brandon

when the blood from the veins
pumps the voices up to his brain
and he can’t seem to maintain
because he’s going insane

that’s when reflective starts to drip
and his mind continues to flip
his life starts to fill up the floor
because he opened that door

he feels the scars that he makes
from the voices that he hates
and even though he debates
he feels they know his true fate.

the more he feels like a freak
the more he wants to be me
yet that beauty that he sees
starts to grow from that tree

but for a brief moment in time
if he just reached up to climb
and opened his eyes he’d find
the amazing beauty that sines.

he never had any regrets
but now he lives to regress
that he fell from the best
into the pool of his mess.

so he over thinks and he over ponders
he’s not over hither, and not over yonder
and he will always dream and aspire
though the voices trick him to conspire.

he knows every time that he’s wrong
yet there’s another pool and it belongs
where never before the lines appear
his red gloved hands start to smear

yet with every new line that shows
he finds his smile in the mirror glows.
this freak freaks far away from in
and he silences the voices within

he catches his mess in the mirror
and nothing else seems clearer
where everyone else sees his sin
he gazes in awe at the the new him.

Amazingly Beautiful

Share This

Posted in Poetry | No Comments »

Just for tonight

February 8th, 2009 by brandon

you take my hand as if we never hesitated
and we dance the night away on this stage we created
we laugh and smile and enjoy the most of our time
completely oblivious of what tomorrow will find

your eyes gleaming under the cold moon light
as we hold each other just for this night.
as the sun will rise tomorrow brings forth anew.
but all that matters is tonight, it is just me and you

because when I am lost in our reflection in your eyes
a future so sure yet unknown as elders outside.
I joke and point at myself to make you smile at this man
for every time you smile I fall in love all over again

cause in the morning this child will become a new man
so show this child what it means to love and take my hand
I listen, and hold you closer with my breath on your tattoo
I bite, you moan as if there was nothing here that was taboo

Tonight there shall be no worries,
Tonight there shall be no fury,
for tonight we shall be one,
and tomorrow I will be gone.

Share This

Posted in Poetry | No Comments »

City of lies

February 8th, 2009 by brandon

His beaming smile had a tendency of brightening the world. Even the gods were blinded slightly when he was happy. Some of them would curse while others would praise. None could do much as he was by his very birth right half divine. His voice calming and beautiful. His elegance was the inspiration of the city. He was their leader, though not through election it was just innate. When he was happy the city was happy and when he was angry the city would feel it. He stood a mere 5′4″ yet his shadow covered the entire nation. All who found themselves within his grace lived out long and happy lives. Those who attempted to cast a shadow of their own would find themselves living long, albeit terrible lives.His eyes shimmered in the sun yet almost glowed in the night. His hair short and white added to the pale complexion of his skin. His name was Kale and he was the ruler. This, to put it simply, “man” has lived many lives. He has watched as this hamlet became a village. He has watched as this village become a town. He has watched as the town grew into a monstrosity of a city all the while listening to the streets. The streets are more knowledge than any library. They whisper all of the inner most secrets of it’s travelers. All the secrets that is except for Kale’s. Kale was a keeper of secrets, a collector of sorts. He could tell which secrets were real and which were there to oppose him. Packaged up into a a little container and stored in his vault.

On this day the world wept a storm onto the cobble streets as Kale’s eyes were indeed filled with sadness. He had just returned from a long and arduous journey to which he saved this glorious city. An adventure filled with betterment and, after a long while, success. Upon his return he found his beloved gone. His journey started without notice as did her departure. With every step he took through this once wonderful city he put on a smile for those inhabitants who needed it. The smile, like his eyes, were filled with sadness. He knew that he had to save the city. He knew his actions were just even if his descriptions were not. The city had been saved due to his actions but never a smiling face was there to be found as when Kale was sad the world wept with him. He had listened for happiness. He had listened for the sound of rejoice, but on this day the streets were filled with nothing but lies.

He knew he had spent many a day helping to build the city and neglecting his beloved. If he had only known that saving the city would have lost him his love he would have been the first to light the match and watch it burn. At times it had not appeared evident how much she had meant to him. He had taken his inner most desires and happiness and locked them away in his vault. Cherishing them in secret for fear of loss. None of it mattered. To take away yesterday is but a wish away. A wish that try as he might has not been answered. Even with all of his divine influence he could not undo what had been done.

Kale leaned against the wall feeling it’s gritty texture against his back. He could feel the very life of the city flowing through his veins trying it’s hardest to revive him. For if he were to become lost the city would crumble. He slowly slid down to a sitting position and pulled out a cigarette. As he lit the cigarette he wished once more and for the first time ever the streets went silent. There wasn’t even the slightest whisper. The air stood still as even the gods didn’t dare to breath. It was almost as if the world stood on edge waiting to see what would become of it. Kale let out a sigh and took another drag.

Share This

Posted in Stories | No Comments »

Memory Eater

February 8th, 2009 by brandon

If he had hair on the back of his neck it would be standing on end right now. He always tenses up when IT arrives. It’s a good thing IT is on his side. The thought flowed and continued to echo through his mind until the horrid beast slithered away. IT’s gift had been left for him. A small piece of paper lay gently on the ground. The next victim in a long list of victims. Kneeling down to pick it up he noticed a little halfling scurry from one room to another out of the corner of his eye. He always wondered if the next name on the paper would be that of someone around him. He was one of the memory eaters and one of the best if you were to ask him. The hardest part of a memory eater’s job is searching for the victims. That’s where Kale came in. He could always find anyone. In fact whenever he would go to see Kale the only thing he would ask is “Name?” Simple question for a simple dealing. A spark flashed in his mind as he started to remember a time when he was filling a coffee cup while Harolde was dealing with Alya over some issue with Kale. His hands were wrong though and it struck him as odd for a moment.

“This isn’t my memory.” he thought, “This was hers. This was Tabitha’s memory. My Last victim.”

Sometimes the memories of victims blended with his own. It came with the job though and soon it would pass. As the memory faded it was replaced with that of her screaming as he plucked the memory from her head. A sigh of relief came over him as he knew that this memory was really his. The sensation could only be described as some sort of mental burp. He shook it off and unraveled the paper gift he had received. The excitement always got his blood pumping. His mind screamed as the only words on the paper were that of his own name.

If you were to ask the halfling that day as to what he had seen he would have most likely described it as one of the most horrible sights he had ever seen. His wording would be quick and very descriptive. Filled with horrid flashes of creatures big and small. Memory eaters from all over grasping and feasting on one of their own. He would tell of all of the blood and gore. That is if he had not actually witnessed this event for now that he has his name was next on the list. His screams were the next to fill the halls. His memory will live on somewhere in someones stomach.

Share This

Posted in Stories | No Comments »

« Previous Entries Next Entries »