This file contains 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
############################################# | |
### Proxmox V & Docker-CE + Portainer # | |
############################################# | |
## Rescue System | |
# Erase other disks | |
dd if=/dev/zero of=/dev/sda bs=1M count=100 | |
dd if=/dev/zero of=/dev/sdb bs=1M count=100 | |
# You can install debian 10 via the guide: |
This file contains 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
LOGIN : | |
Por default el User y el Password son los mismos : Admin | |
----------------------------------------------------------------------------------------------------------------------------------------- | |
CONFIGURACION INICIAL : | |
Icono del Proyecto : | |
This file contains 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
?> | |
<script> | |
//Não mexer em mais nada além dos dois itens abaixo, jogar esse código no onScriptInit da consulta com um botão run criado. | |
//classe do campo que vai totalizar, troque o nome priceorder pelo nome do seu campo | |
var campo_soma = '.css_priceorder_grid_line'; | |
//id do local onde vai ser jogado o total | |
var campo_total = '#swTotal'; | |
This file contains 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
Seguem os eventos e seus respectivos códigos: | |
-> onScriptInit: | |
-------------------------------------------------------------------- | |
sc_include_lib("Jquery"); | |
?> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> | |
<style> |
This file contains 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
############### COLOCAR ESSE CÓDIGO NO BLANK ############### | |
$x = array(); | |
if(isset($_POST['id'])) { | |
$sql = "SELECT region, customer_name, sales, product FROM sales WHERE id = ".$_POST['id']; | |
sc_select(rs, $sql); | |
$x['region'] = $rs->fields[0]; | |
$x['customer'] = $rs->fields[1]; | |
$x['sales'] = $rs->fields[2]; | |
$x['product'] = $rs->fields[3]; | |
echo json_encode($x); |
This file contains 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
-> GRID - onRecord | |
-------------------------------------------------------------------- | |
{wpp} = "<img class='cm_wpp' data-phone='".{telefone}."' data-nome='".{nome}."' data-id='".{id}."' src='/scriptcase9/app/BootstrapTour/_lib/img/grp__NM__ico__NM__if_WhatsApp_1298775.png' border='0'>"; | |
-------------------------------------------------------------------- | |
-> GRID - onScriptInit |
This file contains 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 | |
/* | |
Título: Algoritmo para envio de e-mail parabenizando usuários aniversariantes. | |
Descrição: Neste algoritmo iremos selecionar os aniversariantes do dia e enviar um e-mail com uma mensagem. | |
Este envio de e-mail será feito pelo crontab, a leitura será feita todos os dias as 8 horas da manhã. | |
Tags: php, myqsl, html, scriptcase, camilamoreira | |
Criado por Camila Moreira, 14 de fevereiro de 2019. | |
*/ |
This file contains 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
?> | |
<style> | |
/*CSS PARA OCULTAR DOIS CAMPOS E DOIS LABELS*/ | |
.css_qtd_min__label, .css_qtd_max__label, .css_qtd_min__line, .css_qtd_max__line { | |
display: none !important; | |
} | |
</style> | |
<script> | |
/*FUNÇÃO DO SCRIPTCASE ALTERADA*/ | |
function cm_atualiza_line(x, y) { |
This file contains 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
?> | |
<style> | |
.loader { | |
position: fixed; | |
left: 0px; | |
top: 0px; | |
width: 100%; | |
height: 100%; | |
z-index: 9999; | |
background: url('http://i.imgur.com/zAD2y29.gif') 50% 50% no-repeat white; |
This file contains 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
//função | |
function setAttributes(el, attrs) { | |
for (var key in attrs) { | |
el.setAttribute(key, attrs[key]); | |
} | |
} | |
//chamada da função | |
setAttributes(inputFile, { "id": idName, "class": "scFormObjectOdd", "type": "text", "value": idName }); |
NewerOlder