/** * Created by PhpStorm. * User: Jose Troconis * Date: 6/13/14 * Time: 1:44 AM */ use Fototea\Util\UrlHelper; $file = 'pagoerror.txt'; $content = "-----------------------------------------------------------------------------------------"; $content .= "\nGET\n"; $content .= json_encode($_GET); $content .= "\n\nPOST\n"; $content .= json_encode($_POST); $content .= "\n\n"; //file_put_contents($file, $content, FILE_APPEND); ?> <div class="content-container"> <div class="content form-page" id="metodo-pago-container"> <h2>Lo sentimos, su pago no ha podido ser procesado</h2> <form action="actions/paymentAction.php" method="post" id="metodo-pago-form" class="metodo-pago-form"> <p>Lamentable su pago no ha podido ser procesado, si desea mas información contactenos a traves de la sección de contacto o intente nuevamente</p> <p><a href="<?php echo UrlHelper::getProfileUrl(); ?> ">Volver a mi perfil</a></p> </form> </div> </div>
$events = FAnalytics::getInstance(); $events->trackEvent('Usuario', 'Completar perfil', json_encode($eventData)); $events->trackEvent('Usuario', 'Completar perfil fotógrafo', json_encode($eventData)); $app->redirect(UrlHelper::getPortfolioUrl()); } } if ($action == 'skipCompleteProfile') { $currentUser = getCurrentUser(); $profileCompleted = $currentUser->profile_completed - 1; updateTable("user", "profile_completed=" . $profileCompleted, "id={$currentUser->id}"); if ($currentUser->user_type == User::USER_TYPE_PHOTOGRAPHER && $profileCompleted == User::USER_PHOTOGRAPHER_LEFT_PREFERENCES) { $app->redirect($app->getConfig()->getUrl('completarPreferencias')); } elseif ($currentUser->user_type == User::USER_TYPE_PHOTOGRAPHER && $profileCompleted == User::USER_COMPLETED_PROFILE) { $app->redirect(UrlHelper::getPortfolioUrl()); } else { $app->redirect(UrlHelper::getProfileUrl()); } } if ($action == "editarPerfil") { $name = $_REQUEST['user_name']; $lastname = $_REQUEST['user_apellido']; $email = trim($_REQUEST['user_email']); $desc = $_REQUEST['user_descripcion']; $direccion = $_REQUEST['user_direccion']; $cp = $_REQUEST['user_cp']; $pais = $_REQUEST['user_pais']; $tel = $_REQUEST['user_telefono']; $movil = $_REQUEST['user_movil']; $city = $_REQUEST['user_city']; $currentPass = $_REQUEST['user_current_pass']; $newPass = $_REQUEST['user_new_pass'];
<?php if ($currentUser->id == $rs_pro->user_id) { // si el usuario actual es dueño del proyecto ?> <?php if ($rs_pro->oferta_adjudicada_id) { // si el proyecto ha sido adjudicado ?> <div class="col-xs-6"> <h3>Adjudicaste este proyecto a:</h3> <hr/> <h4>Creativo:</h4> <p> <a href="<?php echo UrlHelper::getProfileUrl($winnerOfferOwner['act_code']); ?> "><?php echo $winnerOfferOwner['full_name']; ?> </a> </p> <?php if ($winnerOfferOwner['email']) { ?> <h4>Correo electrónico:</h4> <p> <?php echo $winnerOfferOwner['email']; ?>