if ($params['user']) {
$user = get_users($dbh, array('user' => $params['user'] ));
if ($user) {
+
$q = $dbh->prepare("SELECT *, clumps.id as clump_id
FROM clumps
JOIN users
<?php include 'header.html'; ?>
+
<?php if ($tag) : ?>
<p>
-<strong><a href="/tags/">tag</a>:</strong> <i><?php echo $tag ?></i>
+<a href="/tags/">tags</a>: <i><?php echo $tag ?></i>
</p>
<?php else: ?>
<p>
</span>
<?php endif; ?>
<?php if (count($row['tags']) > 0) : ?>
+ <br />
<ul class="tags">
<?php foreach($row['tags'] as $tag) : ?>
<li><a href="/tag/<?=$tag?>"><?=$tag?></a></li>
line-height: 1.3em;
}
a {
- text-decoration:none;
}
a:hover {
- color: #000099 !important;
+ color: #00e !important;
+ text-decoration:none;
+}
+a.mute {
+ color:#444;
}
ul {
padding: 0pt;
}
+ul.links {
+ padding:0 0 3px 0;
+}
ul.links li {
- margin-top:1.5em;
- margin-bottom:1.5em;
+ margin-top:2em;
+ margin-bottom:2em;
}
ul.links li span.url a {
display:inline-block;
}
ul.links li span.url a {
- text-decoration:underline;
color:#000;
}
ul.links li span.url a:hover {
display:inline-block;
}
ul.links li .tags {
- display:block;
+}
+ul.links li .tags:hover,
+ul.links li .tags:hover a {
+ color:#777;
+}
+ul.links li .tags:hover a:hover {
+ color:#00e !important;
+ text-decoration:underline;
}
.meta {
font-style:normal;
}
a.ui {
- color:#55d !important;
+ color:#333 !important;
text-decoration:underline;
}
a.ui:hover {
+ color:#00d !important;
text-decoration:none;
}
-.ui.delete {
+.ui.delete
}
.ui.edit {
}
form.new input[type="text"] {
width:100%;
}
-
+form.new textarea {
+ width:100%;
+ height:4em;
+ font-family:Lucida Grande, inherited;
+ font-size:11px;
+ padding:3px;
+}
ul.tags, ul.tags li {
font-size:12px;
}
ul.tags li {
- margin:0 1px 0 0;
+ margin:0 0.2em 0 0;
}
ul.tags li a {
color:#aaa;
text-decoration:none;
}
ul.tags li a:hover {
+ text-decoration:underline;
}
ul.tags li:after {
content:", "
+
+
.tag-help {
font-weight:normal;
font-size:12px;
#tags li {
font-size:14px;
}
+
try {
/*
if ($params['tag']) {
- $q = $dbh->prepare("SELECT *, tags.id as tag_id
- FROM tags
- WHERE tag = ?
+ $q = $dbh->prepare("SELECT *, tags.id as tag_id
+ FROM tags
+ WHERE tag = ?
ORDER BY tag DESC");
$q->execute( array( $params['tag'] ));
}
else {
*/
- $q = $dbh->prepare("SELECT * FROM `tags`
- WHERE `count` > 0
+ $q = $dbh->prepare("SELECT * FROM `tags`
+ WHERE `count` > 0
ORDER BY `count` DESC, `tag` ASC ");
$q->execute();