last update: Sun, 04 Aug 2013 11:15:36 +0000
  1. {if $output}
  2. {if ($smarty.get.showpic) && ($id == 1000)}
  3. <img src="peq1000.jpg" />
  4. {/if}
  5. {$ausgabe}
  6. {$output}
  7. <br />
  8. <div style="float:right;margin-right:150px;clear:both;">
  9. {if $format_script == 1}
  10. <a href="code.php?id={$id}&f=1&language={$language_id}&style={$style_id}">Diesen Code in Standard-Formatierung anzeigen</a>
  11. {elseif $format_script == 2}
  12. <a href="code.php?id={$id}&language={$language_id}&style={$style_id}">Diesen Code in Original-Formatierung anzeigen</a>
  13. {/if}
  14. </div>
  15. <div style="float:right;margin-right:150px;clear:both;">
  16. <ul id="cssdropdown">
  17. <li class="mainitems">
  18. select language
  19. <ul class="subuls">
  20. {foreach from=$languages item=language}
  21. {if ($language_id == $language.id)}
  22. <li><a href="code.php?id={$id}&language={$language.id}&style={$style_id}{if $format_script == 2}&f=1{/if}"> > {$language.name}</a></li>
  23. {else}
  24. <li><a href="code.php?id={$id}&language={$language.id}&style={$style_id}{if $format_script == 2}&f=1{/if}">{$language.name}</a></li>
  25. {/if}
  26. {/foreach}
  27. </ul>
  28. </li>
  29. <li class="mainitems">
  30. select style
  31. <ul class="subuls">
  32. {foreach from=$styles item=style}
  33. {if ($style_id == $style.id)}
  34. <li><a href="code.php?id={$id}&style={$style.id}&language={$language_id}{if $format_script == 2}&f=1{/if}"> > {$style.name}</a></li>
  35. {else}
  36. <li><a href="code.php?id={$id}&style={$style.id}&language={$language_id}{if $format_script == 2}&f=1{/if}">{$style.name}</a></li>
  37. {/if}
  38. {/foreach}
  39. </ul>
  40. </li>
  41. </ul>
  42. </div>
  43. <div style="margin-left:20px;">
  44. goto line: <input name="linenr" id="linenr" style="width:50px;" onkeydown="wait_jumpto();" onchange="jumpto2();" />
  45. <form style="margin-left:35px;display:inline;" method="get" action="comparer.php">Compare with:
  46. <input style="width:50px;" type="text" name="id2" value="{$id-1}" />
  47. <input type="hidden" name="id1" value="{$id}" />
  48. <input type="submit" value="go" />
  49. </form>
  50. </div>
  51. <div style="margin:20px;">
  52. <a href="javascript:onoff()">text copy window</a>
  53. <a style="margin-left:100px;" href="code.php?l={$language_name}©={$id}{$keyString}">edit this code</a>
  54. <a style="margin-left:100px;" href="code.php?l={$language_name}">post new code</a>
  55. </div>
  56. <textarea rows="35" cols="80" id="copyarea" style="visibility:hidden;font-family:monospace;Corier New,Verdana,Tahoma,Arial;font-size:13px;color:#000000; background-color:#FFFFFF; margin-top:0px; margin-bottom:0px; border:1px solid #999999; overflow:auto; height:0px;">{$jass_code}</textarea>
  57. {elseif $smarty.post.code}
  58. <div class="notice" style="margin-top:300px;">
  59. Dein Code wurde gespeichert, wenn du nicht automatisch zu deinem code weitergeleitet wirst benutze folgenden Link:<br />
  60. <a href="code.php?id={$id}">http://peeeq.de/code.php?id={$id}</a>
  61. </div>
  62. {else}
  63. <br />
  64. <form action="code.php" method="post">
  65. <p align="center">
  66. <textarea name="code" id="code" rows="35" cols="80">{$code}</textarea>
  67. <br />
  68. <select name="lang" onchange="onSyntaxChange(this);">
  69. {foreach from=$languages item=language}
  70. <option{if $smarty.get.l == $language} selected="true"{/if}>{$language}</option>
  71. {/foreach}
  72. </select>
  73. <input type="checkbox" name="hidden" />hidden
  74. <input type="submit" value="save" />
  75. </p></form>
  76. {/if}

goto line:
Compare with:
text copy window edit this code post new code