This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container" style="width: 825px; height: 915px; margin:auto;"> | |
<div id="outerdiv" style="width: 950px; height: 891px; overflow:hidden; position:relative;"> | |
<iframe style="position:absolute; top: -575px; left: -47px; width: 1000px; height: 1789px;" width="500" height="560" src="http://bit.ly/jphero" scrolling="no" frameborder="0"></iframe> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;<?php exit; ?> | |
;*** DO NOT REMOVE THE LINE ABOVE *** | |
[openads] | |
installed=1 | |
requireSSL= | |
sslPort=443 | |
[ui] | |
enabled=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
********************************* INICIO del código HTML *********************************** | |
private void PrintReceipt(String allEntryNumbers, int totalEntry, | |
String securityCode, String drawDate, String strGameDetails) { | |
Window window = new Window("Certificación"); | |
window.setPositionX(PronetWebPayMain.getInstance().mainWindow.getWidthUnits()-40); | |
window.setPositionY(PronetWebPayMain.getInstance().mainWindow.getPositionY()+5); | |
window.setCaption(null); | |
String capLetters[] = {"A","B","C","D","E","F","G","H","I","J" }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mainLayout = new VerticalLayout(); | |
mainLayout.setSizeFull(); | |
HorizontalLayout top = new HorizontalLayout(); | |
top.setWidth("100%"); | |
top.setMargin(false, false, false, true); // Poner todo en false =) | |
top.setSpacing(true); | |
top.addStyleName("HeadMain"); | |
Embedded cover = new Embedded(""); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Funcion para Capturar Primera Imagen de cada post | |
function first_postimage() { | |
global $post, $posts; | |
$first_img = ''; | |
ob_start(); //buffer | |
ob_end_clean(); | |
$output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); // matriz de salida | |
$first_img = $matches [1] [0]; //grabamos el primer match | |
return $first_img; // resultado final | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------- EPIC DESIGN WARP+ GALLERY CUSTOM SHORTCODE FOR LIGTHBOX AND CUSTOM STYLE ----------- // | |
remove_shortcode('gallery', 'gallery_shortcode'); | |
add_shortcode('gallery', 'mcm_gallery_shortcode'); | |
function mcm_gallery_shortcode($attr) { | |
global $post; | |
static $instance = 0; | |
$instance++; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Funcion para Capturar Primera Imagen de cada post | |
function first_postimage() { | |
global $post, $posts; | |
$first_img = ''; | |
ob_start(); //buffer | |
ob_end_clean(); | |
$output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); // matriz de salida | |
$first_img = $matches [1] [0]; //grabamos el primer match | |
return $first_img; // resultado final | |
} |