Repression and Censorship photo

Organized Crime: Repression and Censorship

  1. Organized Crime in America
  2. Evolution of Organized Crime
  3. Organized Crime : Expression and Repression
  4. Organized Crime and the Prohibition
  5. Organized Crime: Repression and Censorship

Organization of the Repression

With John Edgar Hoover, the FBI had certain successes in its fight against Organized Crime. The FBI was/is a federal agency that could/can work across the territory. Police forces were sometimes ill-trained because they faced very well organized murderers.

1933 saw the creation of the Bureau of Investigation (Justice), the Prohibition Bureau (Department of the Treasury and eventually to the Department of Justice), and the Bureau of Identification.

The FBI emphasized figures to receive more subventions and for the training of policemen, the FBI became a kind of police academy.

The codes of appearances tell the fall or rise of the gangster. It is sometimes wrong: they can die very well-dressed. Banquets are social rituals, as well as funerals.

In Little Caesar, once they killed someone they would attend his funerals very well dressed. Repression is a spectacle in a way: FBI and politics of prestige.

President Hoover used the media a lot: he collaborated with the media and the movie industry to create a positive image of the war on crime. The Kefauver hearings were televised for the first time. In a way, it was a show.

The cinema was the major medium to picture Organized Crime. Ten years later, TV would be a great threat to movies. Hearings were televised live: immediacy and power.

Organized Crime was in the streets and on the screens: dialectic between expression and repression. New forms of expression both in reality and in fiction.

When Hollywood involved censorship, it became an indirect form of expression but it was still depicting Organized Crime.

The image of America on screen is that of a country in which morality should impose images. Always new forms for gangsters on film even if censorship was present.

Lire la suite

Récupérer l’ID d’un post ou d’une page sous WordPress

Vous utilisez peut-être WordPress pour publier votre blog.

Vous avez commencé à modifier un thème pour l’adapter à vos besoins/goûts/envies mais une variable vous résiste : la variable qui permet d’afficher un post grâce à un numéro unique l’identifiant (ID).

Par défaut, cet identifiant est disponible uniquement à l’intérieur de la boucle (The Loop) de WordPress :

/* on affiche le numéro de post/page dans la boucle WordPress */
the_ID();Code language: JavaScript (javascript)

Tant que vous vous trouvez dans la boucle, aucun souci.

Par contre, si vous souhaitez écrire votre propre plugin ou utiliser cette variable dans votre sidebar, vous êtes un peu coincé car the_ID() n’est alors plus une fonction valide.

Pour remédier à ce problème, vous pouvez utiliser la variable $post->ID afin de retourner le numéro du post ou de la page.

Jettez un oeil au code suivant :

/* on fait de $post une variable globale */
global $post;

/* on stocke la variable dans un nom de variable inutilisé */
$sky_post_ID = $post->ID;

/* on affiche cette variable */
echo $sky_post_ID;Code language: PHP (php)

Alternative, en effectuant une requête SQL simplifiée par $wp_query.

Cette méthode est utilisée principalement hors de la boucle, en travaillant directement sur la base de données :

/* on fait de $wp_query une variable globale */
global $wp_query;

/* on stocke la variable dans un nom de variable inutilisé */
$sky_post_ID = $wp_query->post->ID;

/* on echo cette variable */
echo $sky_post_ID;Code language: PHP (php)

Voilà, vous devriez maintenant pouvoir accéder à ces fameux post id et page id.

Happy coding :)