gaim/www
Clone
Summary
Browse
Changes
Graph
Initial import into CVS
chipx86
start
2002-09-26, Christian Hammond
2b210e25fed4
Initial import into CVS
<?php
require
"html.inc.php"
;
start_html
(
"Screen Shots"
);
$screenshots
=
array
(
"convo1.gif"
=>
array
(
"WIDTH"
=>
374
,
"HEIGHT"
=>
397
,
"THUMBNAIL"
=>
"convo1_t.gif"
,
"THUMBWIDTH"
=>
125
,
"THUMBHEIGHT"
=>
133
,
"TEXT"
=>
"An example conversation"
),
"msn_buddylist.gif"
=>
array
(
"WIDTH"
=>
234
,
"HEIGHT"
=>
346
,
"THUMBNAIL"
=>
"msn_buddylist_t.gif"
,
"THUMBWIDTH"
=>
90
,
"THUMBHEIGHT"
=>
133
,
"TEXT"
=>
"An example of a gaim buddylist using only MSN"
),
"msn_convo.gif"
=>
array
(
"WIDTH"
=>
374
,
"HEIGHT"
=>
369
,
"THUMBNAIL"
=>
"msn_convo_t.gif"
,
"THUMBWIDTH"
=>
125
,
"THUMBHEIGHT"
=>
123
,
"TEXT"
=>
"A conversation using the MSN plugin"
),
"tabbed.gif"
=>
array
(
"WIDTH"
=>
420
,
"HEIGHT"
=>
413
,
"THUMBNAIL"
=>
"tabbed_t.gif"
,
"THUMBWIDTH"
=>
125
,
"THUMBHEIGHT"
=>
123
,
"TEXT"
=>
"A tabbed conversation window. Notice the red "
.
"names? Yup! It notifies you of new messages."
),
"jabber.gif"
=>
array
(
"WIDTH"
=>
212
,
"HEIGHT"
=>
375
,
"THUMBNAIL"
=>
"jabber_t.gif"
,
"THUMBWIDTH"
=>
75
,
"THUMBHEIGHT"
=>
133
,
"TEXT"
=>
"This one is pretty crazy. It's a gaim "
.
"buddylist doing many protocols. Namely: Jabber, Icq, IRC, "
.
"Napster, Yahoo, and AIM."
),
);
if
(
!
isset
(
$file
))
{
start_section
(
"Screen Shots"
);
print
"<table border=
\"
0
\"
align=
\"
center
\"
width=
\"
100%
\"
>
\n
"
;
$b
=
true
;
while
(
list
(
$filename
,
$data
)
=
each
(
$screenshots
))
{
if
(
$b
==
true
)
{
print
" <tr>
\n
"
;
}
print
" <td align=
\"
center
\"
>"
;
print
"<a href=
\"
$PHP_SELF
?file=
$filename
\"
>"
;
print
"<img src=
\"
/images/screenshots/"
.
$data
[
"THUMBNAIL"
];
print
"
\"
width=
\"
"
.
$data
[
"THUMBWIDTH"
]
.
"
\"
"
;
print
" height=
\"
"
.
$data
[
"THUMBHEIGHT"
]
.
"
\"
"
;
print
" border=
\"
0
\"
alt=
\"
[Screen Shot]
\"
/>"
;
print
"</a><br />"
;
print
"<p>"
;
start_font
();
print
$data
[
"TEXT"
];
end_font
();
print
"</p><br /></td>
\n
"
;
if
(
$b
==
false
)
{
print
" </tr>
\n
"
;
}
$b
=
!
$b
;
}
if
(
$b
==
false
)
{
print
" <td> </td>
\n
"
;
print
" </tr>
\n
"
;
}
print
"</table>
\n
"
;
end_section
();
}
else
{
start_section
(
"Screen Shot"
);
if
(
!
isset
(
$screenshots
[
$file
]))
{
print
"Invalid screen shot."
;
}
else
{
print
"<div align=
\"
center
\"
>
\n
"
;
print
" <img src=
\"
/images/screenshots/
$file
\"
"
;
print
" width=
\"
"
.
$screenshots
[
$file
][
"WIDTH"
]
.
"
\"
"
;
print
" height=
\"
"
.
$screenshots
[
$file
][
"HEIGHT"
]
.
"
\"
"
;
print
" border=
\"
0
\"
alt=
\"
[Screen Shot]
\"
/><br />
\n
"
;
print
"<p>"
;
start_font
();
print
$screenshots
[
$file
][
"TEXT"
];
end_font
();
print
"</p>
\n
"
;
print
"</div>
\n
"
;
print
"<br />
\n
"
;
}
end_section
();
}
end_html
();
?>