示例#1
0
/**
 * Get Styles Backend
 * @since 3.1
 */
function get_styles_backend()
{
    getStyles(GSBACK);
}
示例#2
0
     <div class="rowDiv">
       <div class="btnRight">
         <img class="hlpBtn" src="images/help_off.gif" onMouseOver="this.src='images/help.gif';" onMouseOut="this.src='images/help_off.gif';" onClick="alert(this.alt);" alt="<?php echo $l->m('at_033'); ?>" title="<?php echo $l->m('at_033'); ?>" width="16" height="16" border="0" />
       </div>
       <label for="pr_chkCaption"> <span class="title"> <?php echo $l->m('at_032'); ?> </span> </label>
       <input name="pr_chkCaption" type="checkbox" class="chkBox" id="pr_chkCaption" onChange="updateStyle()" value="1" />
       <span class="frmText">(<?php echo $l->m('at_034'); ?>)</span>
     </div>
     <div class="rowDiv">
       <div class="btnRight">
         <img class="hlpBtn" src="images/help_off.gif" onMouseOver="this.src='images/help.gif';" onMouseOut="this.src='images/help_off.gif';" onClick="alert(this.alt);" alt="<?php echo $l->m('at_008'); ?>" title="<?php echo $l->m('at_008'); ?>" width="16" height="16" border="0" />
       </div>
       <label for="pr_captionClass"> <span class="pad10"> <?php echo $l->m('at_009'); ?> </span> </label>
       <select class="fldm" id="pr_captionClass" name="pr_captionClass" onChange="updateStyle()">
         <option value="default" selected="selected"><?php echo $l->m('at_099'); ?></option>
         <?php echo getStyles(true); ?>
       </select>
     </div>
   </div>
 </div>
 <!- // atDiv -->
 <!- TOOLBOX ----------------------------------------------------------- -->
 <div id="tbDiv" class="hideit">
   <div id="ouDiv" class="showit">
     <!- toolbox submenu --------------------------------------------------- -->
     <div id="subMenuBarDiv">
       <ul>
         <li class="btnUp" id="btn_ou"><img src="images/img_asm.gif" alt="<?php echo $l->m('tb_001'); ?>" title="<?php echo $l->m('tb_001'); ?>" width="32" height="32" /></li>
         <li class="btnUp" id="btn_rs"><img src="images/img_res.gif" alt="<?php echo $l->m('tb_002'); ?>" title="<?php echo $l->m('tb_002'); ?>" width="32" height="32" /></li>
         <li class="btnUp" id="btn_cr"><img src="images/img_crop.gif" alt="<?php echo $l->m('tb_003'); ?>" title="<?php echo $l->m('tb_003'); ?>" width="32" height="32" /></li>
         <li class="btnUp" id="btn_or"><img src="images/img_flip.gif" alt="<?php echo $l->m('tb_004'); ?>" title="<?php echo $l->m('tb_004'); ?>" width="32" height="32" /></li>
/**
 * Get Styles Frontend
 * @since 3.1
 */
function get_styles_frontend()
{
    echo getStyles(GSFRONT);
}
示例#4
0
" title="<?php 
echo $l->m('at_008');
?>
" width="16" height="16" border="0" />
                  </div>
                  <label for="pr_captionClass"> <span class="pad10"> <?php 
echo $l->m('at_009');
?>
 </span> </label>
                  <select class="fldm" id="pr_captionClass" name="pr_captionClass" onChange="updateStyle()">
                    <option value="default" selected="selected"><?php 
echo $l->m('at_099');
?>
</option>
                    <?php 
echo getStyles(true);
?>
                  </select>
                </div>
              </div>
            </div>
            <!- // atDiv -->
          </div>
        </div>
      </div>
      <!- // mainDivWrap -->
      <!- footer ----------------------------------------------------------- -->
      <div id="ftDivWrap">
        <div id="ftDiv">
          <input type="button" value="<?php 
echo $l->m('im_005');
示例#5
0
文件: __form.php 项目: stievie/proxym
 |_| |_|  __/ \___/ \__ \___/ \__ \  |_|   |_|\__/\_\\__ \_) ._,_|\___/ \__/
       | |             ) )       ) )                    ) )| |
       |_|            (_/       (_/                    (_/ |_|

Brought to you by sa
-->
<html>
  <head>
    <title>Proxus Maximus</title>
    <meta name="robots" content="noindex, nofollow">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link id="favicon" rel="shortcut icon" type="image/?png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAHiklEQVR42sVXW2wcZxk9/1z2Nnu3117veteJm4scx2nSqIlkhUIoF9EG5SGt2pQWiYLgAZBKRSUECIk+FBAPCB6QoOKlfQIhNQ0pKKgNtCJyuaVxN63bhPqya3vt2PFeZnfuMz/fjrUJoaFsAlV/yRqvvTP/+c93vnO+YaVSi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0Mj1tT1IThbZhYd/zc0y9XI05DMQ35Xz5wBdMv0SsGzU7/uxE/ffGoD/tioPnuLeXAtOzIG30ER4ouBPRnaANEAiDBYHwAQay08efX8AVL/5CvdIhJaqUpe0IG8f8Ec3HnD9sTy8d9ifB/5d7f83AN3lj+80sjXzZLFVDeksZYDmovhSby8kVwF0rfhmX8k6WuFVHVqGnI9iOkZDaCeEug7Xy7rOij+oxWZmZvjY2NgH8np+9uxZ/k8FCrBtwHVXJQAAAABJRU5ErkJggg==">
    <style>
      <?php 
echo getStyles();
?>
    </style>
  </head>
  <body>
    <form id="proxy-form" method="GET" action="./" style="">
      <div id="proxy-title">Proxus Maximus</div>
      <div>
        <input type="text" placeholder="Enter an URL" name="__url__" autofocus="" required="">
      </div>
      <div style="margin-top: 10px;">
        <button class="btn" type="submit">Ogog!</button>
        <a class="btn" href="<?php 
echo getUrl();
?>
">No, thx</a>
示例#6
0
set_infinite_cookie('topColor', $topColor);
set_infinite_cookie('botColor', $botColor);
// Process
if (!DEBUG2SRT2ASS) {
    if (!try_get($_FILES, 'top', $top) || $top['error'] !== 0 || !try_get($_FILES, 'bot', $bot) || $bot['error'] !== 0) {
        sendHTML('Error while uploading. Try again.');
    }
    $outputName = preg_replace('/(\\.[a-zA-Z]{2,3})?\\.srt$/', '.ass', $bot['name']);
    $contentTop = file_get_contents($top['tmp_name']);
    $contentBot = file_get_contents($bot['tmp_name']);
} else {
    $outputFile = 'file:///volume1/web/2srt2ass2/Hannibal.ass';
    $contentTop = file_get_contents('file:///volume1/web/2srt2ass2/Hannibal.en.srt');
    $contentBot = file_get_contents('file:///volume1/web/2srt2ass2/Hannibal.fr.srt');
}
getStyles($fontname, $fontsize, $topColor, $botColor, $styles, $stylesKeys);
cleanSRT($contentTop);
cleanSRT($contentBot);
$tree = array(array('start' => '00:00:01.00', 'end' => '00:00:03.00', 'type' => 'Mid', 'text' => 'Merged with 2SRT2ASS\\N(http://pas-bien.net/2srt2ass/)'));
parseAndAddSRT($contentTop, $tree, 'Top');
parseAndAddSRT($contentBot, $tree, 'Bot');
usort($tree, compare);
// Evrything ok, send file !
$outputData = "";
$outputData .= "[Script Info]\r\n";
$outputData .= "ScriptType: v4.00+\r\n";
$outputData .= "Collisions: Normal\r\n";
$outputData .= "PlayDepth: 0\r\n";
$outputData .= "Timer: 100,0000\r\n";
$outputData .= "Video Aspect Ratio: 0\r\n";
$outputData .= "WrapStyle: 0\r\n";