コード例 #1
0
ファイル: viewticket.php プロジェクト: ACSAUruguay/helpdesk
                            // +----------------------------------------------------------------------+
                            // | Citaciones                                                           |
                            // +----------------------------------------------------------------------+
                            if ( $var_citacion == true and $val['tipo'] == "citaciones" )
                            {
                                $citacion->setCliente( $val["data"]["cliente_id"] );
                                $client = $citacion->getCliente();
                                //$citacion_cliente = $val["data"]["cliente"];
                                ?>
                                <li class="<?php echo $li_active; ?>">
                                    <div class="timeline-icon"><i class="gi gi-envelope"></i></div>
                                    <div class="timeline-time"><?php echo date("d-m-Y",strtotime($val["data"]["fecha"])); ?> <strong><?php echo date("H:i",strtotime($val["data"]["fecha"])); ?></strong></div>
                                    <div class="timeline-content">
                                        <p class="push-bit"><strong>Citación</strong></p>
                                        <?php echo getTipoCitacion ( $val["data"]["citacion_tipo"] ); ?> a <?php echo "<b>" . utf8_encode(stripslashes($client['vUserName']))."</b>"; ?>
                                        <?php if ( $val["data"]["citacion_tipo"] == 2 ) { ?>
                                            <?php echo html_entity_decode(htmlspecialchars(stripslashes($val["data"]["citacion_email"]))); ?>
                                        <?php } ?>
                                    </div>
                                </li>
                                <?php
                            }


                            // +----------------------------------------------------------------------+
                            // | Historial                                                            |
                            // +----------------------------------------------------------------------+
                            if ( $var_historial == true and $val['tipo'] == "historial" )
                            {
                                if ( $val["data"]["derivado"] != 0 ) {
コード例 #2
0
                        <time class="cbp_tmtime" datetime="<?php 
                echo date("Y-d-m H:i", strtotime($val["data"]["fecha"]));
                ?>
">
                            <span><?php 
                echo date("m-d-Y", strtotime($val["data"]["fecha"]));
                ?>
</span> <span><?php 
                echo date("H:i", strtotime($val["data"]["fecha"]));
                ?>
</span>
                        </time>
                        <div class="cbp_tmicon cbp_tmicon-citation"></div>
                        <div class="cbp_tmlabel">
                            <h2><?php 
                echo getTipoCitacion($val["data"]["citacion_tipo"]);
                ?>
 a <?php 
                echo "<b>" . htmlentities(stripslashes($client['vUserName'])) . "</b>";
                ?>
</h2>
                            <?php 
                if ($val["data"]["citacion_tipo"] == 2) {
                    ?>
                            <p><?php 
                    echo html_entity_decode(htmlspecialchars(stripslashes($val["data"]["citacion_email"])));
                    ?>
</p>
                            <?php 
                }
                ?>