SMF Eklenmiş Dosya (Vb Stili)

Son güncelleme: 01.12.2008 12:18
  • vbden smf uyarladık..

    Önceki:
    noimage

    Sonraki:
    [img width=900 height=427]http://img255.imageshack.us/img255/1209/sonrakijl4.png[/imgOLD]

    Display.template.php
    Bul
    // Assuming there are attachments...
    if (!empty($message['attachment']))
    {
    echo '
    <hr width="100%" size="1" class="hrcolor" />
    <div style="overflow: auto; width: 100%;">';
    foreach ($message['attachment'] as $attachment)
    {
    if ($attachment['is_image'])
    {
    if ($attachment['thumbnail']['has_thumb'])
    echo '
    <a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" border="0" /></a><br />';
    else
    echo '
    <img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" border="0" /><br />';
    }
    echo '
    <a href="' . $attachment['href'] . '"><img src="' . $settings['images_url'] . '/icons/clip.gif" align="middle" alt="*" border="0" /> ' . $attachment['name'] . '</a> (', $attachment['size'], ($attachment['is_image'] ? [/swf2][swf3] . $attachment['real_width'] . 'x' . $attachment['real_height'] . ' - ' . $txt['attach_viewed'] : ' - ' . $txt['attach_downloaded']) . ' ' . $attachment['downloads'] . ' ' . $txt['attach_times'] . '.)<br />';

    Değiştir
    // Assuming there are attachments...
    if (!empty($message['attachment']))
    {
    echo '

    <div style="overflow: auto; width: 100%;">';
    foreach ($message['attachment'] as $attachment)
    {
    if ($attachment['is_image'])
    {
    if ($attachment['thumbnail']['has_thumb'])
    echo '
    <a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" border="0" /></a><br />';
    else
    echo '
    <img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" border="0" /><br />';
    }

    echo '
    <fieldset><legend><b>Eklenmiş Dosya</b></legend>
    <a href="' . $attachment['href'] . '"><img src="' . $settings['images_url'] . '/icons/clip.gif" align="middle" alt="*" border="0" /> ' . $attachment['name'] . '</a> (', $attachment['size'], ($attachment['is_image'] ? [/swf2][swf3] . $attachment['real_width'] . 'x' . $attachment['real_height'] . ' - ' . $txt['attach_viewed'] : ' - ' . $txt['attach_downloaded']) . ' ' . $attachment['downloads'] . ' ' . $txt['attach_times'] . '.)<br />';
#24.11.2008 13:20 0 0 0
  • Webmaster Programları BöLümünden Buraya aLındı...
#01.12.2008 12:18 0 0 0