All the sources codespage 2
Haxe
September 27 2016 at 08:07
#309
public var isDialog : Bool;
...
public function isLabelDialog() : Bool
{
if (this.isDialog == true)
return true;
else
return false;
}
Java
July 13 2016 at 01:30
#308
if (player.hasPermission("se.block.smoke"))
if (block != Material.LEVER) {
if (block != Material.BED) {
if (block != Material.BED_BLOCK) {
if (block != Material.CACTUS) {
if (block != Material.BRICK_STAIRS) {
if (block != Material.BIRCH_WOOD_STAIRS) {
if (block != Material.BREWING_STAND) {
if (block != Material.CAKE) {
if (block != Material.CAKE_BLOCK) {
if (block != Material.CAULDRON) {
if (block != Material.CHEST) {
if (block != Material.CLAY) {
if (block != Material.SAND) {
if (block != Material.BURNING_FURNACE) {
if (block != Material.COBBLESTONE_STAIRS) {
if (block != Material.FENCE) {
if (block != Material.FENCE_GATE) {
if (block != Material.FIRE) {
if (block != Material.GRAVEL) {
if (block != Material.IRON_DOOR_BLOCK) {
if (block != Material.IRON_FENCE) {
if (block != Material.IRON_DOOR) {
if (block != Material.LADDER) {
if (block != Material.MELON) {
if (block != Material.LEAVES) {
if (block != Material.LOCKED_CHEST) {
if (block != Material.SANDSTONE_STAIRS) {
if (block != Material.SMOOTH_STAIRS) {
if (block != Material.SPRUCE_WOOD_STAIRS) {
if (block != Material.TNT) {
if (block != Material.WOOD_DOUBLE_STEP) {
if (block != Material.WOOD_DOOR) {
if (block != Material.WEB) {
if (block != Material.ICE) {
if (block != Material.SNOW_BLOCK) {
if (block != Material.SNOW) {
if (block != Material.WATER_LILY) {
if (block != Material.TORCH) {
if (block != Material.REDSTONE_WIRE) {
if (block != Material.YELLOW_FLOWER) {
if (block != Material.RED_ROSE) {
if (block != Material.PAINTING) {
if (block != Material.RAILS) {
if (block != Material.POWERED_RAIL) {
if (block != Material.DETECTOR_RAIL) {
if (block != Material.DEAD_BUSH) {
if (block != Material.GRASS) {
if (block != Material.NETHER_BRICK_STAIRS) {
if (block != Material.NETHER_FENCE) {
if (block != Material.NETHER_WARTS) {
if (block != Material.HUGE_MUSHROOM_1) {
if (block != Material.HUGE_MUSHROOM_2) {
if (block != Material.BROWN_MUSHROOM) {
if (block != Material.GLASS) {
if (block != Material.JUNGLE_WOOD_STAIRS) {
if (block != Material.WATER) {
if (block != Material.SUGAR_CANE_BLOCK) {
if (block != Material.WOOD_DOUBLE_STEP) {
if (block != Material.WALL_SIGN) {
if (block != Material.WOOD_PLATE) {
if (block != Material.STONE_PLATE) {
if (block != Material.STONE_BUTTON) {
if (block != Material.WOOD_STAIRS) {
if (block != Material.TRAP_DOOR) {
if (block != Material.TRIPWIRE) {
if (block != Material.TRIPWIRE_HOOK) {
if (block != Material.WOOD_STEP) {
if (block != Material.THIN_GLASS) {
if (block != Material.REDSTONE_TORCH_OFF) {
if (block != Material.REDSTONE_TORCH_ON) {
if (block != Material.SAPLING) {
String s = new SerializableLocation(loc).unpack().toString();
this.plugin.Blindeness.add(s);
this.plugin.Blindeness.save();
if (this.String1 == this.plugin.getConfig().getString("_Block_Blindeness")) {
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] You Created a" + ChatColor.DARK_RED + " BlindenessEffectBlock" + ChatColor.DARK_GREEN + " at " + ChatColor.RED + s);
}
else
{
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] You Created a" + ChatColor.DARK_RED + " BlindenessEffectBlock" + ChatColor.DARK_GREEN + " at " + ChatColor.RED + s);
}
} else {
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
else
player.sendMessage(ChatColor.DARK_GREEN + "[SpecialEffects] Can't" + ChatColor.DARK_RED + " create a EffectBlock" + ChatColor.DARK_GREEN + " Using this material");
}
}
PHP
July 12 2016 at 01:30
#307
function deleteFiles($arrParams){
Funciones::loadClassesBackend('AdjuntoArchivo', 'AdjuntoTipo_AdjuntoTamano','CMSIdioma_CMSPortal','AdjuntoTipo');
global $AdjuntoTipo_AdjuntoTamano, $Acceso, $CMSIdioma_CMSPortal,$AdjuntoArchivo,$AdjuntoTipo;
$arrAdjunto = $this->get($arrParams['idAdjunto']);
if ($arrAdjunto) {
$arrCMSIdiomas = $CMSIdioma_CMSPortal->select(array('idCMSPortal' => $Acceso->getPortal()));
$arrAdjuntoTamano = $AdjuntoTipo_AdjuntoTamano->select($arrAdjunto['idAdjuntoTipo'], $Acceso->getPortal());
foreach ($arrAdjuntoTamano as $key => $tamano) {
foreach ($arrCMSIdiomas as $key => $idioma) {
$arrArchivo = $AdjuntoArchivo->selectOne($arrAdjunto['idAdjunto'],$tamano['idCMSResolucion'],$tamano['idAdjuntoTamano'],$arrAdjunto['idAdjuntoTipo'], $idioma['idCMSIdioma']) ;
if ($arrArchivo) {
$arrAdjuntoTipo = $AdjuntoTipo->get($arrArchivo['idAdjuntoTipo']);
$arrAdjunto['directorio'] = $arrAdjuntoTipo['directorio'];
$arrAdjunto['idAdjuntoArchivo'] = $arrArchivo['idAdjuntoArchivo'];
$arrAdjunto['extension'] = $arrArchivo['extension'];
$arrAdjunto['idCMSPortal'] = $arrArchivo['idCMSPortal'];
$file = $AdjuntoArchivo->formatPath($arrAdjunto);
if( file_exists($file) ){
$file = str_replace("../adjuntos","",$file);
$query = "INSERT INTO adjuntoEliminar (idAdjunto,path) VALUES (".$arrAdjunto['idAdjunto'].",'$file') ";
$this->_myQuery($query);
}
}
}
}
}
}