Pastoid

Search Results

May 20, 2008 at 5:23 pm - View

mysql> SELECT * FROM habari__tags WHERE tag_text like 'haba%' or tag_slug like 'haba%'; +-----+-----------------------+----------------------+ | id | tag_text | tag_slug | +-----+-----------------------+----------------------+ | 11 | habari | habari |

May 20, 2008 at 3:38 pm - View

May 20, 2008 at 2:43 pm - View

May 20, 2008 at 1:40 pm - View

ALTER TABLE {$prefix}posts MODIFY pubdate VARCHAR(20) NOT NULL; ALTER TABLE {$prefix}posts MODIFY updated VARCHAR(20) NOT NULL; ALTER TABLE {$prefix}comments MODIFY date VARCHAR(20) NOT NULL; ALTER TABLE {$prefix}log MODIFY timestamp VARCHAR(20) NOT NULL;

May 20, 2008 at 1:36 pm - View

CREATE TEMPORARY TABLE dup_slugs SELECT tag_slug, COUNT(*) FROM habari__tags GROUP BY tag_slug HAVING COUNT(*) > 1; SET @row_count:= 1; UPDATE habari__tags INNER JOIN dup_slugs ON habari__tags.tag_slug = dup_slugs.tag_slug SET habari__tags.tag_slug = CONCAT(habari__tags.tag_slug, @row_count), @row_count = @row_count + 1;

k2_comment_class - View

public function k2_comment_class( $comment ) { $class= 'class="comment'; if ( $comment->status == Comment::STATUS_UNAPPROVED ) { $class.= '-unapproved';

k2_comment_class - View

    public function k2_comment_class( $comment )     {         $class= 'class="comment';         if ( $comment->status == Comment::STATUS_UNAPPROVED ) {             $class.= '-unapproved';

Lipsum update_num_posts() - View

function update_num_posts() { $num_posts= Options::get(strtolower(get_class($this)) . ':num_posts' ); $num_posts= ( $num_posts ? (int) $num_posts : 20 );

Lipsum update_num_posts() - View

    function update_num_posts()     {         $num_posts= Options::get(strtolower(get_class($this)) . ':num_posts' );         $num_posts= ( $num_posts ? (int) $num_posts : 20 );

May 19, 2008 at 8:11 pm - View

May 19, 2008 at 4:25 pm - View

<?php for ( $i=ord('A'); $i <= ord('Z'); $i++ ) { echo 'mkdir ' . chr( $i ) . '<br />';

May 19, 2008 at 4:23 pm - View

<?php for ( $i=65; $i <=90; $i++ ) { echo 'mkdir ' . chr( $i ) . '<br />';

May 19, 2008 at 4:18 pm - View

mkdir A mkdir B mkdir C mkdir D mkdir E

May 19, 2008 at 4:17 pm - View

mkdir a mkdir b mkdir c mkdir d

May 19, 2008 at 2:54 pm - View

$routes[] = new RegexRoute('%^press/(?P<section_id>[^/]+)/(?P<article_id>[^/]+)/?$%i', 'news', 'get_article'); $routes[] = new RegexRoute('%^press/(?P<section_id>[^/]+)/(?P<page>[^/]+)/?$%i', 'news', 'get_happening_now');

May 19, 2008 at 1:49 pm - View

CREATE TABLE {l_source} ( id INTEGER AUTOINCREMENT NOT NULL, title VARCHAR(255) NOT NULL, profile_url VARCHAR(255) NOT NULL, feed_url VARCHAR(255) NOT NULL,

May 19, 2008 at 1:43 pm - View

$q= "CREATE TABLE " . DB::table('l_source') . "( id INT UNSIGNED NOT NULL AUTO_INCREMENT, title VARCHAR(255) NOT NULL, profile_url VARCHAR(255) NOT NULL, feed_url VARCHAR(255) NOT NULL,

May 19, 2008 at 1:10 pm - View

<div style="display:none;" class="sb-module"><h2>Lifestream</h2> <? /* probably better to style this to display:none in the stylesheet, not here */ ?> <link href="http://lifestream.fm/badges/default.css" rel="stylesheet" type="text/css" />

May 19, 2008 at 9:58 am - View

$count = $this->db->results(' SELECT count(*) FROM if_news_type NATURAL JOIN if_news LEFT JOIN if_media_full ON if_media_full.uber_id = if_news.uber_id and media_type_id = 1 WHERE section = ?

May 19, 2008 at 9:38 am - View

<div class="scroller"> <ul> <?php foreach($articles as $article)

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 · 104 · 105 · 106 · 107 · 108 · 109 · 110 · 111 · 112 · 113 · 114 · 115 · 116 · 117 · 118 · 119 · 120 · 121 · 122 · 123 · 124 · 125 · 126 · 127 · 128 · 129 · 130 · 131 · 132 · 133 · 134 · 135 · 136 · 137 · 138 · 139 · 140 · 141 · 142 · 143 · 144 · 145 · 146 · 147 · 148 · 149 · 150 · 151 · 152 · 153 · 154 · 155 · 156 · 157 · 158 · 159 · 160 · 161 · 162 · 163

<Hide