[PC-BSD Commits] r2001 - in websites/pbidir.com/bibivu: bin sbin slib tpl/css tpl/js tpl/pbidir tpl/pbidir/images

svn at pcbsd.org svn at pcbsd.org
Sat May 31 06:33:17 PDT 2008


Author: fabry
Date: 2008-05-31 06:33:17 -0700 (Sat, 31 May 2008)
New Revision: 2001

Added:
   websites/pbidir.com/bibivu/sbin/user_info.php
   websites/pbidir.com/bibivu/tpl/pbidir/images/32bit.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/64bit.png
Modified:
   websites/pbidir.com/bibivu/bin/start.php
   websites/pbidir.com/bibivu/slib/cookies.php
   websites/pbidir.com/bibivu/tpl/css/pbidir.css
   websites/pbidir.com/bibivu/tpl/js/functions.js
   websites/pbidir.com/bibivu/tpl/pbidir/pbi_versions.php
Log:
 - new 32/64bit icons.
 - fixed some warning messages
 - sorting version from high to low (latest up)

Modified: websites/pbidir.com/bibivu/bin/start.php
===================================================================
--- websites/pbidir.com/bibivu/bin/start.php	2008-05-31 03:27:44 UTC (rev 2000)
+++ websites/pbidir.com/bibivu/bin/start.php	2008-05-31 13:33:17 UTC (rev 2001)
@@ -279,8 +279,10 @@
 			$filters_64[] = array('field'=>'bits', 'operator'=>'=', 'value'=>'64');
 
 			$limit = '';	//was 3
-			$pbi_releases[32] = load_library('pbi_release')->get_all($filters_32, array('pcbsd_version DESC'), array(), $limit);
-			$pbi_releases[64] = load_library('pbi_release')->get_all($filters_64, array('pcbsd_version DESC'), array(), $limit);
+			$pbi_releases[32] = load_library('pbi_release')->get_all($filters_32, array('pcbsd_version_id DESC'), array(), $limit);
+			$pbi_releases[64] = load_library('pbi_release')->get_all($filters_64, array('pcbsd_version_id DESC'), array(), $limit);
+			
+//			var_dump(load_class('user_info')->get());
 
 			if($bits==64){
 				krsort($pbi_releases);

Added: websites/pbidir.com/bibivu/sbin/user_info.php

Modified: websites/pbidir.com/bibivu/slib/cookies.php
===================================================================
--- websites/pbidir.com/bibivu/slib/cookies.php	2008-05-31 03:27:44 UTC (rev 2000)
+++ websites/pbidir.com/bibivu/slib/cookies.php	2008-05-31 13:33:17 UTC (rev 2001)
@@ -37,36 +37,40 @@
 	}
 
 	public function set($name = '', $value = '', $expire = 0, $domain = '', $path = '/', $secure=false){
-		if (is_array($name)){
-			foreach (array('name', 'value', 'expire', 'domain', 'path', 'secure') as $tmp){
-				if (isset($name[$tmp])){
-					$$tmp = $name[$tmp];
+		if(headers_sent()){
+			return false;
+		} else {
+			if (is_array($name)){
+				foreach (array('name', 'value', 'expire', 'domain', 'path', 'secure') as $tmp){
+					if (isset($name[$tmp])){
+						$$tmp = $name[$tmp];
+					}
 				}
 			}
-		}
-		//cleaning cookes:
-		if($name!='' && strpbrk($name,"=,; \t\r\n\013\014")!= NULL){
-			return false;
-		}
-		
-		// Set the config file options
-		$prefix = $this->config['prefix'];
-		if ($domain == '' && $this->config['domain'] != ''){
-			$domain = $this->config['domain'];
-		}
-		if ($prefix == '' && $this->config['prefix'] != ''){
+			//cleaning cookes:
+			if($name!='' && strpbrk($name,"=,; \t\r\n\013\014")!= NULL){
+				return false;
+			}
+			
+			// Set the config file options
 			$prefix = $this->config['prefix'];
-		}
-		if (!is_numeric($expire) && is_numeric($this->config['expire'])){
-			$expire = $this->config['expire'];
-		}else{
-			if ($expire != 0){
-				$expire = time() + $expire;
+			if ($domain == '' && $this->config['domain'] != ''){
+				$domain = $this->config['domain'];
+			}
+			if ($prefix == '' && $this->config['prefix'] != ''){
+				$prefix = $this->config['prefix'];
+			}
+			if (!is_numeric($expire) && is_numeric($this->config['expire'])){
+				$expire = $this->config['expire'];
 			}else{
-				$expire = 0;
+				if ($expire != 0){
+					$expire = time() + $expire;
+				}else{
+					$expire = 0;
+				}
 			}
+			return setcookie($prefix.$name, $value, $expire, $path, $domain, $secure);
 		}
-		return setcookie($prefix.$name, $value, $expire, $path, $domain, $secure);
 	}
 		
 	/**

Modified: websites/pbidir.com/bibivu/tpl/css/pbidir.css
===================================================================
--- websites/pbidir.com/bibivu/tpl/css/pbidir.css	2008-05-31 03:27:44 UTC (rev 2000)
+++ websites/pbidir.com/bibivu/tpl/css/pbidir.css	2008-05-31 13:33:17 UTC (rev 2001)
@@ -1,717 +1,730 @@
-body {
-	font: 0.75em Verdana, Helvetica, sans-serif;
-	background: #f2f2f2;
-	margin: 0;
-	padding: 0;
-}
-
-a:link, a:visited {
-	color: #005dab;
-}
-
-a:hover {
-	color: #00325d;
-}
-
-.dp, .dp a {
-	color: #ccc;
-}
-
-ul {
-	list-style: none;
-}
-
-.clear {
-	clear: both;
-}
-
-.mirrors li {
-}
-
-#container {
-	width: 100%;
-	text-align: center;
-}
-
-#main {
-	width: 750px;
-	text-align: left;
-	margin: 0 auto;
-	background: #fff;
-	border-left: 1px solid #7397ab;
-	border-right: 1px solid #7397ab;
-}
-
-#header {
-	height: 100px;
-	background: url(/bibivu/tpl/pbidir/images/top.png) repeat-x;
-}
-
-#header p {
-	padding: 0;
-	margin: 10px 0 0 15px;
-}
-
-#logo {
-	margin: 0;
-	padding: 0;
-	width: 250px;
-	height: 55px;
-	background: url(/bibivu/tpl/pbidir/images/pbidir.png) no-repeat;
-	font-size: 1px;
-}
-
-#logo a {
-	display: block;
-	width: 150px;
-	height: 55px;
-	text-decoration: none;
-	color: #fff;
-}
-
-form {
-	margin: 0;
-	padding: 0;
-}
-
-a img {
-	border: none;
-}
-
-#banner {
-	text-align: center;
-}
-
-#banner img {
-	padding: 1px;
-	border: 1px solid #ddd;
-	margin: 10px auto;
-}
-
-input, select, textarea {
-	vertical-align: middle;
-	border:1px solid #000000;
-	padding:2px;
-}
-input.required, select.required, textarea.required{
-	border:1px solid #FF0000;
-}
-
-h1 {
-	font: bold 1.8em "Arial Narrow", Helvetica, sans-serif;
-	color: #0075d8;
-	margin: 0.2em 0;
-	padding: 0;
-}
-
-h2 {
-	font: bold 1.1em Verdana, Helvetica, sans-serif;
-	color: #a20000;
-	margin: 0.2em 0;
-	padding: 0;
-}
-
-#popular h1 {
-	margin-left: 10px;
-}
-
-#softicons {
-	height: 85px;
-	background: url(/bibivu/tpl/pbidir/images/shadow.png) repeat-x;
-	padding: 5px 0;
-}
-
-#softicons ul {
-	list-style: none;
-	padding: 0;
-	margin: 0;
-}
-
-#softicons li {
-	display: block;
-	float: left;
-	voice-family: "\"}\"";
-	voice-family: inherit;
-	border-left: 1px solid #a8a8a8;
-}
-
-#softicons li.first {
-	voice-family: "\"}\"";
-	voice-family: inherit;
-	border-left: none;
-}
-
-#content {
-/*	clear: left;*/
-	padding: 1em;
-	vertical-align:top;
-}
-
-#softlist {
-	width: 100%;
-}
-
-#stats {
-	float: right;
-	width: 20%;
-	padding-left: 10px;
-}
-
-#stats ol {
-	margin: 0;
-	padding: 0;
-	font-size: 0.9em;
-}
-
-#stats li {
-	padding: 0;
-	margin: 0;
-}
-
-/*			Home page: List of categs			*/
-
-#cats {
-	float: left;
-	width: 74%;
-	border-right: 1px solid #eee;
-	padding-right: 10px; 
-}
-
-#cats ul {
-	margin: 0;
-	padding: 0;
-	list-style: none;
-}
-
-html>body #cats ul {
-	width: 100%;
-}
-
-#cats li {
-	width: 100%;
-	border-bottom: 1px solid #ddd;
-	padding-bottom: 5px;
-	margin-bottom: 5px;
-}
-
-
-#cats li img {
-	float: left;
-	display: block;
-	margin: 0 5px 0 0;
-}
-
-.categ {
-	height: 50px;
-}
-
-.categname {
-	font: bold  18px Arial, Helvetica, sans-serif;
-	padding: 5px 0 0 0;
-}
-
-
-/*			Separation			*/
-
-div.separ {
-	clear: both;
-	height: 3px;
-	background: #a70000;
-	border-bottom: 2px solid #eee;
-}
-
-div.separ hr {
-	display: none;
-}
-
-div.separ_comment {
-	clear: both;
-	height: 2px;
-	background: #a70000;
-	border-bottom: 1px solid #eee;
-	margin-bottom:10px;
-}
-
-div.separ_comment hr {
-	display: none;
-}
-
-/*			Footer			*/
-
-#footer {
-	clear: both;
-	font-size: 0.85em;
-	color: #666;
-	padding:5px;
-}
-
-/*			Software list			*/
-
-.breadcrumbs {
-	list-style: none;
-	margin: 1em 0;
-	padding: 0;
-}
-
-.breadcrumbs li {
-	display: inline;
-	padding: 0 10px;
-	background: url(/bibivu/tpl/pbidir/images/bullet.gif) 0 50% no-repeat;
-}
-
-.desc {
-	background: url(/bibivu/tpl/pbidir/images/decr.gif) 0 65% no-repeat;
-	padding-left: 10px;
-}
-
-.asc {
-	background: url(/bibivu/tpl/pbidir/images/cres.gif) 0 65% no-repeat;
-	padding-left: 10px;
-}
-
-table.packages {
-	width: 100%;
-	border-collapse: collapse;
-}
-
-table.packages th {
-	background: #eee;
-	padding: 5px;
-	text-align: center;
-}
-
-table.packages td {
-	border-bottom: 1px solid #666;
-	padding: 1em 0;
-}
-
-table.packages th.name {
-	text-align: left;
-	width: 40%;
-}
-
-table.packages td.name {
-	width: 40%;
-}
-
-table.packages th.added, table.packages td.added {
-	text-align: center;
-	width: 15%;
-}
-
-table.packages th.rating, table.packages td.rating {
-	text-align: center;
-	width: 15%;
-}
-
-table.packages th.counter, table.packages td.counter {
-	text-align: center;
-	width: 15%;
-}
-
-table.packages th.links {
-	text-align: center;
-	width: 15%;
-}
-
-table.packages td.links {
-	width: 15%;
-}
-
-table.packages table {
-	width: 100px;
-	margin: 0 auto;
-}
-
-table.packages table td {
-	border: none;
-	margin: 0 10px;
-}
-
-table.packages ul {
-	list-style: none;
-	padding: 0;
-	margin: 0;
-}
-
-table.packages li {
-	padding: 0 0 0.2em 15px;
-	margin: 0;
-	background: url(/bibivu/tpl/pbidir/images/bullet.png) 0 65% no-repeat;
-	font-size: 0.9em;
-}
-
-table.packages .quickdesc {
-	font-size: 11px;
-}
-
-table.packages h1 a {
-	font: bold 12px Verdana, Helvetica, sans-serif;
-	color: #a00000;
-}
-
-/*				Details		*/
-
-tr.highlight {
-	background: #eee;
-}
-
-div.downlinks {
-	margin:0 10px 10px 0;
-}
-
-div.downlinks ul {
-	margin: 0;
-	padding: 0;
-	list-style: none;
-}
-
-div.downlinks li {
-	padding: 0.2em 0;
-	margin: 0;
-}
-
-/*			Admin			*/
-
-ul.adminbar {
-	margin: 0;
-	padding: 3px;
-	list-style: none;
-	background: #eef4f6;
-}
-
-ul.adminbar li {
-	margin: 0;
-	display: inline;
-	background: url(/bibivu/tpl/pbidir/images/separ.png) 0 75% no-repeat;
-	padding: 0 5px;
-}
-
-ul.adminbar li.first {
-	background: url(/bibivu/tpl/pbidir/images/bullet.gif) 0 75% no-repeat;
-	padding: 0 0 0 10px;
-}
-
-.search_text{
-	height:18px;
-}
-.search_button{
-	height:24px;
-	margin-left:5px;
-}
-#search_form{
-	margin:10px;
-}
-.rating_bar{
-	height: 14px;
-	background-color: #FBFFAA;
-	border-right:1px solid #FF3300;
-	text-align:right;
-	padding:1px 2px 1px 1px;
-}
-.container_rating_bar{
-	background-color: #EAEAEA;
-	border:1px inset #B863E4;
-	width:101px;
-	text-align:left;
-}
-
-/*   votes   */
-.vote_box{
-	background-color: #EAEAEA;
-	border:1px inset #B863E4;
-	width:101px;
-	height: 14px;
-}
-.vote_vote a, .vote_vote{
-	float:left;
-	width:9px;
-	text-decoration:none;
-	text-align:right;
-	color:#000;
-}
-#vote_10{
-	width:19px;
-}
-.vote_selected{
-	border-right:1px solid #FF3300;
-}
-.vote_selected_back{
-	background-color: #FBFFAA;
-}
-.window{
-  border:1px solid #DEDEDE;
-  text-align:center;
-  background-color:#FAFAFA;
-  vertical-align:middle;
-}
-.error_message{
-	border:1px solid #FF0000;
-	background-color:#FFFFCC;
-	color:#FF0000;
-	font-size:12px;
-	padding:2px;
-	font-weight:bold;
-	margin:4px;
-}
-/*   comments   */
-#comment_form_div{
-	font-size:10px;
-}
-#submit_comment{
-}
-
-.button{
-	font-size:12px;
-	color:#797979;
-	font-weight:bold;
-	border:1px solid #EBEBEB;
-	background-color:#F5F5F5;
-	text-decoration:none;
-}
-.button:hover{
-	color:#000000;
-}
-.comment_form{
-	width:100%;
-}
-.textareabox{
-	width:100%;
-	height:100px;
-}
-.comment_message{
-	font-size:10px;
-	border: 1px solid #EBEBEB;
-	margin:4px 4px 10px 4px;
-}
-.comment_header{
-	width:100%;
-	background-color:#F5F5F5;
-	height:16px;
-	border-bottom: 1px solid #EBEBEB;
-}
-.comment_user{
-	text-align:left;
-	float:left;
-	padding:2px;
-	text-decoration:none;
-}
-.comment_user a{
-	text-decoration:none;
-}
-.comment_date{
-	text-align:right;
-	float:right;
-	padding:2px;
-}
-.comment_actions{
-	text-align:right;
-	float:right;
-	padding:2px;
-}
-.comment_body{
-	clear:both;
-	margin:2px;
-	padding:4px;
-	font-size:12px;
-}
-
-/*   admin   */
-.admin_menu{
-	border: 1px solid #EBEBEB;
-	background-color:#F5F5F5;
-/*	height:16px;	*/
-	margin:0 0 5px 0;
-	text-align:center;
-	font-weight:bold;
-}
-.admin_menu ul{
-	padding:0 0 0 10px;
-	margin:0px;
-	list-style:none;
-	font-weight:bold;
-}
-.admin_menu ul li{
-	float:left;
-	padding-left:10px;
-}
-
-.admin_menu ul li a{
-	font-weight:normal;
-}
-
-/*   list    */
-.list{
-	border:1px double #EBEBEB;
-	width:100%;
-	margin:0px;
-	padding:0px;
-	border-spacing:0px;
-}
-
-.list .row{
-	border-spacing:0px;
-	width:100%;
-	height:16px;
-	clear:both;
-}
-
-.row_odd{
-	background-color:#F3F3F3;
-}
-.row_even{
-}
-.row_hover{
-	background-color:#E1E8FF;
-}
-.row_highlight{
-	background-color:#D9D9FF;
-}
-
-.list .head{
-	font-weight:bold;
-	background-color:#F5F5F5;
-	text-align:center;
-	height:25px;
-}
-.list .head .row a{
-	color:#000000;
-}
-.list .foot{
-	font-weight:bold;
-	background-color:#F5F5F5;
-}
-
-.list .foot .field{
-	margin:0px;
-	padding:2px 0 2px 0;
-	border-top:1px solid #000;
-}
-.list .field{
-	margin:0px;
-	padding:0px 2px 0px 2px;
-}
-.list .field_edit{
-	text-decoration:none;
-}
-.list td{
-	border-left:2px solid #F5F5F5;
-}
-th.headerSortUp, th.headerSortDown{
-	background-color: #E1E8FF;
-}
-th.headerSortUp a, th.headerSortDown a{
-	color:#FFFFFF;
-	text-decoration:none;
-	padding-left: 10px;
-}
-th.headerSortDown a{
-	background: url(/bibivu/tpl/pbidir/images/decr.gif) 0 65% no-repeat;
-}
-
-th.headerSortUp a{
-	background: url(/bibivu/tpl/pbidir/images/cres.gif) 0 65% no-repeat;
-}
-.form{
-	padding:10px;
-	border:1px double #EBEBEB;
-	overflow:auto;
-}
-.form_field{
-	padding:4px;
-	border-top:1px solid #EBEBEB;
-	border-bottom:1px solid #EBEBEB;
-	clear:both;
-}
-.form_field_label{
-	width:100px;
-	float:left;
-}
-.form_field_input{
-	margin-left:100px;
-}
-
-.show_related_table{
-	cursor:pointer;
-}
-/* divBOX */
-#FP_divBOX{
-	display:block;
-	overflow:visible;
-	margin:5px 0 5px 0;
-	padding:5px;
-}
-#divBox_load {
-	position: fixed;
-	display:none;
-	height:13px;
-	width:208px;
-	z-index:103;
-	top: 50%;
-	left: 50%;
-	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
-	 /* ie6 hack */
-	position: absolute;
-	margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
-}
-
-
-.pbi_images{
-	float:right;
-	width:102px;
-	border:1px solid #EBEBEB;	
-	height:125px;
-	overflow:hidden;
-	padding:1px;
-	float:left;
-}
-.pbi_image{
-	border:none;
-	max-width:100px;
-	max-height:100px;
-	vertical-align:baseline;
-	border:1px solid #EBEBEB;
-}
-.pbi_description{
-	margin-bottom:20px;
-	clear:left;
-}
-.pbi_releases{
-	clear:both;
-	margin-bottom:20px;
-}
-.pbi_info{
-	float:right;
-	margin:5px;
-	border:1px solid #EBEBEB;
-	padding:2px;
-}
-.pbi_icon{
-	float:left;
-	margin:2px;
-	border:none;
-	width:48px;
-}
-#subscribe_pbi{
-	font-weight:bold;
-	text-align:center;
-}
-#alternative_pbi{
-	text-align:center;
-}
-.pbi_legend{
-	width:20px;
-	float:left;
-	padding-right:5px;
-}
-
-.languages{
-	float:right;
-	border:1px solid #EBEBEB;
-	background-color: #EBEBEB;
-	padding:5px;
-}
-
-.language_flag{
-	margin:5px;
+body {
+	font: 0.75em Verdana, Helvetica, sans-serif;
+	background: #f2f2f2;
+	margin: 0;
+	padding: 0;
+}
+
+a:link, a:visited {
+	color: #005dab;
+}
+
+a:hover {
+	color: #00325d;
+}
+
+.dp, .dp a {
+	color: #ccc;
+}
+
+ul {
+	list-style: none;
+}
+
+.clear {
+	clear: both;
+}
+
+.mirrors li {
+}
+
+#container {
+	width: 100%;
+	text-align: center;
+}
+
+#main {
+	width: 750px;
+	text-align: left;
+	margin: 0 auto;
+	background: #fff;
+	border-left: 1px solid #7397ab;
+	border-right: 1px solid #7397ab;
+}
+
+#header {
+	height: 100px;
+	background: url(/bibivu/tpl/pbidir/images/top.png) repeat-x;
+}
+
+#header p {
+	padding: 0;
+	margin: 10px 0 0 15px;
+}
+
+#logo {
+	margin: 0;
+	padding: 0;
+	width: 250px;
+	height: 55px;
+	background: url(/bibivu/tpl/pbidir/images/pbidir.png) no-repeat;
+	font-size: 1px;
+}
+
+#logo a {
+	display: block;
+	width: 150px;
+	height: 55px;
+	text-decoration: none;
+	color: #fff;
+}
+
+form {
+	margin: 0;
+	padding: 0;
+}
+
+a img {
+	border: none;
+}
+
+#banner {
+	text-align: center;
+}
+
+#banner img {
+	padding: 1px;
+	border: 1px solid #ddd;
+	margin: 10px auto;
+}
+
+input, select, textarea {
+	vertical-align: middle;
+	border:1px solid #000000;
+	padding:2px;
+}
+input.required, select.required, textarea.required{
+	border:1px solid #FF0000;
+}
+
+h1 {
+	font: bold 1.8em "Arial Narrow", Helvetica, sans-serif;
+	color: #0075d8;
+	margin: 0.2em 0;
+	padding: 0;
+}
+
+h2 {
+	font: bold 1.1em Verdana, Helvetica, sans-serif;
+	color: #a20000;
+	margin: 0.2em 0;
+	padding: 0;
+}
+
+#popular h1 {
+	margin-left: 10px;
+}
+
+#softicons {
+	height: 85px;
+	background: url(/bibivu/tpl/pbidir/images/shadow.png) repeat-x;
+	padding: 5px 0;
+}
+
+#softicons ul {
+	list-style: none;
+	padding: 0;
+	margin: 0;
+}
+
+#softicons li {
+	display: block;
+	float: left;
+	voice-family: "\"}\"";
+	voice-family: inherit;
+	border-left: 1px solid #a8a8a8;
+}
+
+#softicons li.first {
+	voice-family: "\"}\"";
+	voice-family: inherit;
+	border-left: none;
+}
+
+#content {
+/*	clear: left;*/
+	padding: 1em;
+	vertical-align:top;
+}
+
+#softlist {
+	width: 100%;
+}
+
+#stats {
+	float: right;
+	width: 20%;
+	padding-left: 10px;
+}
+
+#stats ol {
+	margin: 0;
+	padding: 0;
+	font-size: 0.9em;
+}
+
+#stats li {
+	padding: 0;
+	margin: 0;
+}
+
+/*			Home page: List of categs			*/
+
+#cats {
+	float: left;
+	width: 74%;
+	border-right: 1px solid #eee;
+	padding-right: 10px; 
+}
+
+#cats ul {
+	margin: 0;
+	padding: 0;
+	list-style: none;
+}
+
+html>body #cats ul {
+	width: 100%;
+}
+
+#cats li {
+	width: 100%;
+	border-bottom: 1px solid #ddd;
+	padding-bottom: 5px;
+	margin-bottom: 5px;
+}
+
+
+#cats li img {
+	float: left;
+	display: block;
+	margin: 0 5px 0 0;
+}
+
+.categ {
+	height: 50px;
+}
+
+.categname {
+	font: bold  18px Arial, Helvetica, sans-serif;
+	padding: 5px 0 0 0;
+}
+
+
+/*			Separation			*/
+
+div.separ {
+	clear: both;
+	height: 3px;
+	background: #a70000;
+	border-bottom: 2px solid #eee;
+}
+
+div.separ hr {
+	display: none;
+}
+
+div.separ_comment {
+	clear: both;
+	height: 2px;
+	background: #a70000;
+	border-bottom: 1px solid #eee;
+	margin-bottom:10px;
+}
+
+div.separ_comment hr {
+	display: none;
+}
+
+/*			Footer			*/
+
+#footer {
+	clear: both;
+	font-size: 0.85em;
+	color: #666;
+	padding:5px;
+}
+
+/*			Software list			*/
+
+.breadcrumbs {
+	list-style: none;
+	margin: 1em 0;
+	padding: 0;
+}
+
+.breadcrumbs li {
+	display: inline;
+	padding: 0 10px;
+	background: url(/bibivu/tpl/pbidir/images/bullet.gif) 0 50% no-repeat;
+}
+
+.desc {
+	background: url(/bibivu/tpl/pbidir/images/decr.gif) 0 65% no-repeat;
+	padding-left: 10px;
+}
+
+.asc {
+	background: url(/bibivu/tpl/pbidir/images/cres.gif) 0 65% no-repeat;
+	padding-left: 10px;
+}
+
+table.packages {
+	width: 100%;
+	border-collapse: collapse;
+}
+
+table.packages th {
+	background: #eee;
+	padding: 5px;
+	text-align: center;
+}
+
+table.packages td {
+	border-bottom: 1px solid #666;
+	padding: 1em 0;
+}
+
+table.packages th.name {
+	text-align: left;
+	width: 40%;
+}
+
+table.packages td.name {
+	width: 40%;
+}
+
+table.packages th.added, table.packages td.added {
+	text-align: center;
+	width: 15%;
+}
+
+table.packages th.rating, table.packages td.rating {
+	text-align: center;
+	width: 15%;
+}
+
+table.packages th.counter, table.packages td.counter {
+	text-align: center;
+	width: 15%;
+}
+
+table.packages th.links {
+	text-align: center;
+	width: 15%;
+}
+
+table.packages td.links {
+	width: 15%;
+}
+
+table.packages table {
+	width: 100px;
+	margin: 0 auto;
+}
+
+table.packages table td {
+	border: none;
+	margin: 0 10px;
+}
+
+table.packages ul {
+	list-style: none;
+	padding: 0;
+	margin: 0;
+}
+
+table.packages li {
+	padding: 0 0 0.2em 15px;
+	margin: 0;
+	background: url(/bibivu/tpl/pbidir/images/bullet.png) 0 65% no-repeat;
+	font-size: 0.9em;
+}
+
+table.packages .quickdesc {
+	font-size: 11px;
+}
+
+table.packages h1 a {
+	font: bold 12px Verdana, Helvetica, sans-serif;
+	color: #a00000;
+}
+
+/*				Details		*/
+
+tr.highlight {
+	background: #eee;
+}
+
+div.downlinks {
+	margin:0 10px 10px 0;
+}
+
+div.downlinks ul {
+	margin: 0;
+	padding: 0;
+	list-style: none;
+}
+
+div.downlinks li {
+	padding: 0.2em 0;
+	margin: 0;
+}
+
+/*			Admin			*/
+
+ul.adminbar {
+	margin: 0;
+	padding: 3px;
+	list-style: none;
+	background: #eef4f6;
+}
+
+ul.adminbar li {
+	margin: 0;
+	display: inline;
+	background: url(/bibivu/tpl/pbidir/images/separ.png) 0 75% no-repeat;
+	padding: 0 5px;
+}
+
+ul.adminbar li.first {
+	background: url(/bibivu/tpl/pbidir/images/bullet.gif) 0 75% no-repeat;
+	padding: 0 0 0 10px;
+}
+
+.search_text{
+	height:18px;
+}
+.search_button{
+	height:24px;
+	margin-left:5px;
+}
+#search_form{
+	margin:10px;
+}
+.rating_bar{
+	height: 14px;
+	background-color: #FBFFAA;
+	border-right:1px solid #FF3300;
+	text-align:right;
+	padding:1px 2px 1px 1px;
+}
+.container_rating_bar{
+	background-color: #EAEAEA;
+	border:1px inset #B863E4;
+	width:101px;
+	text-align:left;
+}
+
+/*   votes   */
+.vote_box{
+	background-color: #EAEAEA;
+	border:1px inset #B863E4;
+	width:101px;
+	height: 14px;
+}
+.vote_vote a, .vote_vote{
+	float:left;
+	width:9px;
+	text-decoration:none;
+	text-align:right;
+	color:#000;
+}
+#vote_10{
+	width:19px;
+}
+.vote_selected{
+	border-right:1px solid #FF3300;
+}
+.vote_selected_back{
+	background-color: #FBFFAA;
+}
+.window{
+  border:1px solid #DEDEDE;
+  text-align:center;
+  background-color:#FAFAFA;
+  vertical-align:middle;
+}
+.error_message{
+	border:1px solid #FF0000;
+	background-color:#FFFFCC;
+	color:#FF0000;
+	font-size:12px;
+	padding:2px;
+	font-weight:bold;
+	margin:4px;
+}
+/*   comments   */
+#comment_form_div{
+	font-size:10px;
+}
+#submit_comment{
+}
+
+.button{
+	font-size:12px;
+	color:#797979;
+	font-weight:bold;
+	border:1px solid #EBEBEB;
+	background-color:#F5F5F5;
+	text-decoration:none;
+}
+.button:hover{
+	color:#000000;
+}
+.comment_form{
+	width:100%;
+}
+.textareabox{
+	width:100%;
+	height:100px;
+}
+.comment_message{
+	font-size:10px;
+	border: 1px solid #EBEBEB;
+	margin:4px 4px 10px 4px;
+}
+.comment_header{
+	width:100%;
+	background-color:#F5F5F5;
+	height:16px;
+	border-bottom: 1px solid #EBEBEB;
+}
+.comment_user{
+	text-align:left;
+	float:left;
+	padding:2px;
+	text-decoration:none;
+}
+.comment_user a{
+	text-decoration:none;
+}
+.comment_date{
+	text-align:right;
+	float:right;
+	padding:2px;
+}
+.comment_actions{
+	text-align:right;
+	float:right;
+	padding:2px;
+}
+.comment_body{
+	clear:both;
+	margin:2px;
+	padding:4px;
+	font-size:12px;
+}
+
+/*   admin   */
+.admin_menu{
+	border: 1px solid #EBEBEB;
+	background-color:#F5F5F5;
+/*	height:16px;	*/
+	margin:0 0 5px 0;
+	text-align:center;
+	font-weight:bold;
+}
+.admin_menu ul{
+	padding:0 0 0 10px;
+	margin:0px;
+	list-style:none;
+	font-weight:bold;
+}
+.admin_menu ul li{
+	float:left;
+	padding-left:10px;
+}
+
+.admin_menu ul li a{
+	font-weight:normal;
+}
+
+/*   list    */
+.list{
+	border:1px double #EBEBEB;
+	width:100%;
+	margin:0px;
+	padding:0px;
+	border-spacing:0px;
+}
+
+.list .row{
+	border-spacing:0px;
+	width:100%;
+	height:16px;
+	clear:both;
+}
+
+.row_odd{
+	background-color:#F3F3F3;
+}
+.row_even{
+}
+.row_hover{
+	background-color:#E1E8FF;
+}
+.row_highlight{
+	background-color:#D9D9FF;
+}
+
+.list .pc_bsd_version{
+	font-weight:bold;
+	background-color:#F5F5F5;
+	text-align:left;
+	height:25px;
+	padding-left:5px;
+	border-top:1px solid #A1A1A1;
+	border-bottom:1px dashed #A1A1A1;
+}
+
+.list .head{
+	font-weight:bold;
+	background-color:#F5F5F5;
+	text-align:center;
+	height:25px;
+}
+.list .head .row a{
+	color:#000000;
+}
+.list .foot{
+	font-weight:bold;
+	background-color:#F5F5F5;
+}
+
+.list .foot .field{
+	margin:0px;
+	padding:2px 0 2px 0;
+	border-top:1px solid #000;
+}
+.list .field{
+	margin:0px;
+	padding:0px 2px 0px 2px;
+}
+.list .field_edit{
+	text-decoration:none;
+}
+.list td{
+/*	border-left:2px solid #F5F5F5; */
+/*	border-bottom:2px solid #F5F5F5; */
+	border:1px solid #F5F5F5;
+	padding:1px;
+}
+th.headerSortUp, th.headerSortDown{
+	background-color: #E1E8FF;
+}
+th.headerSortUp a, th.headerSortDown a{
+	color:#FFFFFF;
+	text-decoration:none;
+	padding-left: 10px;
+}
+th.headerSortDown a{
+	background: url(/bibivu/tpl/pbidir/images/decr.gif) 0 65% no-repeat;
+}
+
+th.headerSortUp a{
+	background: url(/bibivu/tpl/pbidir/images/cres.gif) 0 65% no-repeat;
+}
+.form{
+	padding:10px;
+	border:1px double #EBEBEB;
+	overflow:auto;
+}
+.form_field{
+	padding:4px;
+	border-top:1px solid #EBEBEB;
+	border-bottom:1px solid #EBEBEB;
+	clear:both;
+}
+.form_field_label{
+	width:100px;
+	float:left;
+}
+.form_field_input{
+	margin-left:100px;
+}
+
+.show_related_table{
+	cursor:pointer;
+}
+/* divBOX */
+#FP_divBOX{
+	display:block;
+	overflow:visible;
+	margin:5px 0 5px 0;
+	padding:5px;
+}
+#divBox_load {
+	position: fixed;
+	display:none;
+	height:13px;
+	width:208px;
+	z-index:103;
+	top: 50%;
+	left: 50%;
+	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
+	 /* ie6 hack */
+	position: absolute;
+	margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
+}
+
+
+.pbi_images{
+	float:right;
+	width:102px;
+	border:1px solid #EBEBEB;	
+	height:125px;
+	overflow:hidden;
+	padding:1px;
+	float:left;
+}
+.pbi_image{
+	border:none;
+	max-width:100px;
+	max-height:100px;
+	vertical-align:baseline;
+	border:1px solid #EBEBEB;
+}
+.pbi_description{
+	margin-bottom:20px;
+	clear:left;
+}
+.pbi_releases{
+	clear:both;
+	margin-bottom:20px;
+}
+.pbi_info{
+	float:right;
+	margin:5px;
+	border:1px solid #EBEBEB;
+	padding:2px;
+}
+.pbi_icon{
+	float:left;
+	margin:2px;
+	border:none;
+	width:48px;
+}
+#subscribe_pbi{
+	font-weight:bold;
+	text-align:center;
+}
+#alternative_pbi{
+	text-align:center;
+}
+.pbi_legend{
+	width:20px;
+	float:left;
+	padding-right:5px;
+}
+
+.languages{
+	float:right;
+	border:1px solid #EBEBEB;
+	background-color: #EBEBEB;
+	padding:5px;
+}
+
+.language_flag{
+	margin:5px;
 }
\ No newline at end of file

Modified: websites/pbidir.com/bibivu/tpl/js/functions.js
===================================================================
--- websites/pbidir.com/bibivu/tpl/js/functions.js	2008-05-31 03:27:44 UTC (rev 2000)
+++ websites/pbidir.com/bibivu/tpl/js/functions.js	2008-05-31 13:33:17 UTC (rev 2001)
@@ -29,8 +29,8 @@
 	  filter_using = this.column + 1;
   }); 
 
-  $('table.sortable tbody tr:not([th]):odd').removeClass('row_even').addClass('row_odd');
-  $('table.sortable tbody tr:not([th]):even').removeClass('row_odd').addClass('row_even');
+//  $('table.sortable tbody tr:not([th]):odd').removeClass('row_even').addClass('row_odd');
+//  $('table.sortable tbody tr:not([th]):even').removeClass('row_odd').addClass('row_even');
   $('table.sortable tbody tr:not([th])').hover(
 											   function() { $(this).addClass("row_hover"); },
 											   function() { $(this).removeClass("row_hover"); }

Added: websites/pbidir.com/bibivu/tpl/pbidir/images/32bit.png


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/32bit.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: websites/pbidir.com/bibivu/tpl/pbidir/images/64bit.png


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/64bit.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: websites/pbidir.com/bibivu/tpl/pbidir/pbi_versions.php
===================================================================
--- websites/pbidir.com/bibivu/tpl/pbidir/pbi_versions.php	2008-05-31 03:27:44 UTC (rev 2000)
+++ websites/pbidir.com/bibivu/tpl/pbidir/pbi_versions.php	2008-05-31 13:33:17 UTC (rev 2001)
@@ -4,7 +4,7 @@
 <div class="pbi_releases"><?php
 	?><ul><?php
 	foreach($pbi_releases as $key=>$value){
-		?><li><a href="#x<?=$key?>"><span><?=$key?> bit</span></a></li><?php
+		?><li><a href="#x<?=$key?>"><span><img src="/bibivu/tpl/pbidir/images/<?=$key?>bit.png" alt="<?=$key?> bit" title="<?=$key?> bit" /> bit</span></a></li><?php
 	}
 	?></ul><?php
 	foreach($pbi_releases as $key=>$value){
@@ -20,9 +20,17 @@
 				</tr>
 			</thead>
 			<tbody><?php
+		$version = '';
 		foreach($value as $pbi_release){
+			preg_match('/^\d+\./',$pbi_release['pcbsd_version'],$new_version);
+			if(!isset($new_version[0]) || $version!=$new_version[0]){
+				$version=(isset($new_version[0])?$new_version[0]:'');
+				?><tr>
+					<th colspan="5" class="pc_bsd_version">PC-BSD <?=$key?>bit v.<?=$version?>x</th>
+				</tr><?php
+			}
 			?><tr>
-				<td align="left"><a href="<?=$download_uri?>/<?=$pbi['id']?>/<?=$pbi_release['id']?>"><?=$pbi_release['version']?></a></td>
+				<td align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?=$download_uri?>/<?=$pbi['id']?>/<?=$pbi_release['id']?>"><?=$pbi_release['version']?></a></td>
 				<td align="left"><?=$pbi_release['summary']?></td>
 				<td align="right"><?=load_library('format')->bytes($pbi_release['size']*1024*1024)?></td>
 				<td align="right"><?=load_library('format')->date($pbi_release['date_last_modified'])?></td>



More information about the Commits mailing list