diff --git a/appview.php b/appview.php index 751838f..e9df9db 100644 --- a/appview.php +++ b/appview.php @@ -74,13 +74,13 @@ function get_screenshot_img($appId, $versionId="") if(!$result || !mysql_num_rows($result)) { - $imgFile = "No Screenshot"; + $imgFile = "No Screenshot"; } else { $ob = mysql_fetch_object($result); $imgFile = "$ob->description"; + "alt='$ob->description' />"; } $img = html_frame_start("",'128','',2); diff --git a/bugs.php b/bugs.php index ae63b1c..e9c3122 100644 --- a/bugs.php +++ b/bugs.php @@ -29,13 +29,13 @@ function get_screenshot_img($appId, $versionId) if(!$result || !mysql_num_rows($result)) { - $imgFile = "No Screenshot"; + $imgFile = "No Screenshot"; } else { $ob = mysql_fetch_object($result); $imgFile = "$ob->description"; + "alt='$ob->description'>"; } $img = html_frame_start("",'128','',2); diff --git a/include/html.php b/include/html.php index 734bd3a..3f33de6 100644 --- a/include/html.php +++ b/include/html.php @@ -186,7 +186,7 @@ function html_imagebutton($text, $url, $extra = "") $java = "onMouseDown = 'document.img$i.src = \"$img2\"; return true;' "; $java .= "onMouseUp = 'document.img$i.src = \"$img1\"; return true;' "; - return "\n\n $text \n"; + return "\n\n $text \n"; } @@ -206,19 +206,19 @@ $str .= ' - - + + - - + + - - + + - - + +
'.$title.'
@@ -228,7 +228,7 @@ $str .= ' $str .= ' -- +-
@@ -245,7 +245,7 @@ $str = '
-- +-
diff --git a/include/menu.php b/include/menu.php index 4ef7b87..e365d08 100644 --- a/include/menu.php +++ b/include/menu.php @@ -16,14 +16,14 @@ class htmlmenu { - - + + - + - +
  '.$name.'
@@ -63,7 +63,7 @@ class htmlmenu { - - + - diff --git a/include/rating.php b/include/rating.php index 7b015c3..a2c7b05 100644 --- a/include/rating.php +++ b/include/rating.php @@ -29,8 +29,8 @@ function rating_menu() { global $apidb_root; - $s = 's1'; - $n = 's0'; + $s = 's1'; + $n = 's0'; $j = new htmlmenu("Compatibility Rating","updaterating.php"); @@ -101,9 +101,9 @@ function rating_stars_for_version($versionId, $system) $r = rating_for_version($versionId, $system); - $s = 's1'; - $n = 's0'; - $h = 's2'; + $s = 's1'; + $n = 's0'; + $h = 's2'; if ($system == "fake") { diff --git a/index.php b/index.php index fba1c5c..a19561e 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ apidb_header("Wine Application Database"); ?> - Wine AppDB + Wine AppDB

Welcome

diff --git a/screenshots.php b/screenshots.php index cd1a5f0..c43dfb3 100644 --- a/screenshots.php +++ b/screenshots.php @@ -132,7 +132,7 @@ if((!$result || !mysql_num_rows($result)) && (!havepriv("admin") && !isMaintaine echo "
\n"; } // set img tag - $imgSRC = ''.$ob->description.''; + $imgSRC = ''.$ob->description.''; // get image size $size = getimagesize("data/screenshots/".$ob->url);